query_eventsQuery event occurrences by type and time range.
Area
Discovery & Research
Group
Assets & events
Access
Read
Risk
Read-only
▸Details
Full description
Details
Query public or owned event occurrences in an inclusive time range. Exact symbol filtering includes global events. Optional filters.where selects declared top-level payload fields before pagination and counts: number supports eq/ne/gt/gte/lt/lte; string and boolean support eq/ne. Each predicate supplies kind, field, op and a correctly typed value; the whole array is limited to 2048 compact UTF-8 JSON bytes. Missing/null fields never match, including ne. Example: where=[{kind:"number",field:"wow_change",op:"lt",value:-100}]. Omit filters.history to read current stored facts. Set filters.history="versions" to inspect captured observation revisions, including superseded content; retries retain one version. Revisions that were never captured cannot be reconstructed. Set filters.captured_as_of to a timezone-aware instant to inspect captured records known and effective by then. Without history=versions it selects one latest known version per fact before date, symbol and payload filters; with history=versions it retains eligible revisions. Strategy latency and execution/receipt clocks remain part of research evaluation, not these inspection views. Payload objects up to 4096 compact JSON bytes are complete; larger payloads return a typed preview with total_bytes and truncated=true. Each row is at most 10240 bytes and each page at most 32768 bytes; follow the cursor when the byte budget ends a page early. Licensed types return mode=schema_only, the registered schema and a separate synthetic example; they never return history. Omit history, captured_as_of, symbol, where and cursor for those examples. Either history bound may be omitted for an unbounded range; applied echoes the effective bounds. Each page scans the event table (~1 GB billed in production), so use a narrow event_ts range and a larger limit instead of walking history at small limits. List requests have a 60-second HTTP timeout.
Follow next.cursor until end. Unreadable rows consume positions and must be disclosed. UNSUPPORTED_QUERY supplies a runnable supported query. Invalid cursors require restarting from page one. Count is readable rows on this page; total is the optional full matching count.
Capabilities
Bounded options and operating modes surfaced above the full JSON schema.
Order options
order
ascdescRequired Inputs
filtersEventFiltersWhich events to return: the event type (required), with an optional time range, symbol, captured-version history view, captured_as_of cutoff and up to eight typed AND payload predicates in where.Optional Inputs
countbooleanRequest the full matching storage count, including unreadable rows.cursoranyOf (2 variants)Opaque continuation token; omit for page one.limitintegerMaximum stored rows per page, including unreadable rows; 1–50.orderenum: asc, descSort direction; unsupported combinations return a runnable example.sortstringDeclared sort field; an identity tiebreaker is always appended.