Endpoint
Path parameter
Query parameters
Time range resolution
The API automatically adjusts aggregation granularity based on the requested range:- More than 3 days → daily buckets
- 3 days or less → hourly buckets
Rate limits
5 requests per second per workspace.Response format
All metrics return anAnalyticsResponse object with two fields:
simple — a single scalar value
barchart — time-series data
values represents one time bucket. The keys inside values are metric-specific series names.
table — tabular summary
horizontal-barchart — ranked distribution
Same shape as table, displayed as a horizontal bar chart in the UI.
empty
Returned when there is no data for the requested time range.
Error responses
400 — invalid time rangepage_size out of bounds)
Available metrics
Execution metrics
Cost & token metrics
Costs are estimates based on publicly available model pricing. Cached LLM responses are excluded from cost calculations.