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.
Query parameters
Preset time range. Use this or explicit start_time / end_time.
Base date used with summary_type presets.
Optional explicit ISO start time.
Optional explicit ISO end time.
Bucket granularity for time-series responses.
Timezone offset, in hours, used when resolving preset ranges.
Dimension to break the time series down by.
Headers
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Request body
Response
Successful response.