Get analytics
Authentication
Bearer authentication using API key. Generate an API key from the AI Guardrails Dashboard. Example: Bearer sk_123…
Request
Start of the time range (inclusive). Must be a UTC timestamp — use the Z or +00:00 suffix. Sub-minute seconds are silently floored.
End of the time range (exclusive). Must be a UTC timestamp. After flooring, must be strictly after start_time. The range may not exceed 180 days.
Bucket size as an ISO 8601 duration: PT{n}M, PT{n}H, or P{n}D where n is a positive integer (e.g. PT15M, PT6H, P7D). The time range after flooring must divide evenly by the resolution.
Response
The start of the time range after flooring sub-minute seconds, in UTC.
The end of the time range after flooring sub-minute seconds, in UTC.
Per-project time series