events
Get event metrics
Aggregate what the events carry beyond their count, per time bucket.
Ingestion volume (files, chunks, tokens, bytes, timings), searches by kind (semantic, reranked, rewritten, agentic, grep) with latency percentiles and agentic token usage, and chat completions with their prompt, cached, and completion tokens, hosted tool calls, and turn durations. Buckets with no events are omitted.
post/v1/events/metrics
Query parameters
Restrict to one store by ID or name; omit to span every store
group_by'store' nullable
Split every bucket per store, carrying its store_id; events with no store are left out.
Split every bucket per store, carrying its store_id; events with no store are left out.
Request body
Response
Usage aggregates of the organization's events per time bucket