Distribution queries
Aggregated snapshots of guardrail evaluations over a time window. Every example below posts JSON to: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.
Pass/fail breakdown per guardrail
Pass/fail breakdown per guardrail
Counts grouped by guardrail and outcome, useful for spotting guardrails that fail most often:
Latency percentiles on output-scope guardrails
Latency percentiles on output-scope guardrails
p50, p90, and p99 grouped by guardrail, restricted to output-scope evaluations:
Slow guardrail evaluations
Slow guardrail evaluations
Volume and average latency of evaluations slower than 500 ms, grouped by guardrail:
Failures only
Failures only
Restrict to failed evaluations, grouped by guardrail and scope:
Group by team and metadata environment
Group by team and metadata environment
Counts by team and a custom metadata key, restricted via team array filter:
Distinct guardrails per scope
Distinct guardrails per scope
How many unique guardrails ran on input vs output:
Restrict to specific guardrails
Restrict to specific guardrails
Use
IN on guardrailName to focus on a subset: