Skip to main content

Distribution queries

Aggregated snapshots of guardrail evaluations over a time window. Every 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.
Counts grouped by guardrail and outcome, useful for spotting guardrails that fail most often:
p50, p90, and p99 grouped by guardrail, restricted to output-scope evaluations:
Volume and average latency of evaluations slower than 500 ms, grouped by guardrail:
Restrict to failed evaluations, grouped by guardrail and scope:
Counts by team and a custom metadata key, restricted via team array filter:
How many unique guardrails ran on input vs output:
Use IN on guardrailName to focus on a subset: