latestOpenAPI 3.1.02026-08-22172405521.1 KB

6dac6bb49f72

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

string
OR
string uuid

Restrict to one store by ID or name; omit to span every store

Request body

start_timestring date-time

Start time of the histogram

end_timestring date-time

End time of the histogram

bucket_secondsinteger

Number of seconds in each bucket

Response

Usage aggregates of the organization's events per time bucket

object'event_metrics'

The object type of the response