List metrics broken down by dimension
Returns a time series broken down by a chosen dimension (model, organization key, customer, prompt, deployment, or provider). Each row is one bucket with one column per dimension value. Top values are kept; the rest are folded into Others.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Request
This endpoint expects an object.
breakdown_by
Dimension to break the time series down by.
end_time
Inclusive end of the range, ISO 8601.
start_time
Inclusive start of the range, ISO 8601.
metrics_to_aggregate
Optional metric subset (default: all metrics).
time_tick
Bucket granularity for time-series endpoints. If omitted, inferred from the range. Has no effect on /summary/ endpoints.
Allowed values:
Response
Successful response.
date_group