Skip to main content

Timeseries queries

Time-bucketed guardrail metrics over a window. Every timeseries query must include interval (or the deprecated intervalInSeconds). Each example below posts JSON to:
with Authorization: Bearer <your_api_key> and Content-Type: application/json. To keep the snippets short, only the JSON body is shown; the wrapper is identical to the Overview Quick Start.
Total guardrail evaluations per hour:
Track p99 evaluation latency per scope (input / output) bucket-by-bucket:
Track per-guardrail failure rate over time:
Fine-grained breakdown to investigate a regression:
Daily evaluation volume per guardrail across a 7-day window:
Focus on a few guardrails of interest:
Per-team guardrail activity over time: