Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request for aggregated call statistics over a time range.
Inclusive start time (UTC, ISO 8601).
Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.
Bucket size in seconds (e.g., 3600 for 1 hour). If omitted, auto-selected based on time range. Will be adjusted if it would produce more than 10,000 buckets.
Usage metrics (tokens, cost) to compute. Grouped by timestamp and model.
Call-level metrics (latency, counts) to compute. Grouped by timestamp only.
IANA timezone for bucket alignment (e.g., 'America/New_York')
Successful Response
Response containing time-series call statistics.
Resolved start time (UTC)
Resolved end time (UTC)
Bucket size used (in seconds)
Timezone used for bucket alignment
Usage metrics by model. Each bucket contains 'timestamp', 'model', and aggregated metric values.
Call-level metrics. Each bucket contains 'timestamp' and aggregated metric values.