Skip to content

AnalyticsEventSearchRequest ​

Example Usage ​

typescript
import { AnalyticsEventSearchRequest } from "@meetkai/mka1/models/components";

let value: AnalyticsEventSearchRequest = {
  from: new Date("2026-09-01T00:00:00Z"),
  to: new Date("2026-09-02T00:00:00Z"),
  eventName: "page_view",
  filters: [
    {
      property: "plan",
      op: "gte",
    },
  ],
};

Fields ​

FieldTypeRequiredDescriptionExample
fromDate✔️Start of the time range, inclusive. Use an ISO 8601 timestamp with Z for UTC or an offset such as -07:00. Must be before to.2026-09-01T00:00:00Z
toDate✔️End of the time range, exclusive. Use an ISO 8601 timestamp with Z for UTC or an offset such as -07:00. Must be after from.2026-09-02T00:00:00Z
eventNamestring➖Only include events with this exact name. Omit to include all event names.page_view
filterscomponents.AnalyticsEventSearchRequestFilters[]➖Property filters combined with AND. An event must match every filter.
distinctIdstring➖Only include events sent with this exact distinct_id.
limitnumber➖Maximum number of rows in this page.
cursorstring➖Opaque cursor of at most 4096 characters, copied from next_cursor of the previous page. Omit for the first page, which takes the snapshot the whole sequence reads at. Cursors belong to one list and one sort order; a cursor that does not decode, or one from another list, returns 400. A cursor is a position, not a capability: one that decodes only moves the caller within the same project.