List LLM metrics
Returns LLM usage metrics (requests, tokens, cost, latency, cache hit rate, etc.) bucketed by time_tick (minute / hour / day).
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.
Whether to include available filter options in the response.
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.