Distribution queries
Aggregated snapshots of agent invocations 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.
Agent metrics include every Gateway request by default. Rows that didn’t go through an agent will have
agentName, agentFramework, and agentServerType set to null and show up as null buckets in groupBy output. IS_NULL is not supported on these three fields; to scope to specific known agents, use agentName IN [...] or one of the STRING_* operators.Volume by framework
Volume by framework
Counts grouped by agent framework, useful for capacity planning across
langgraph, crewai, etc.:Failure rate per agent
Failure rate per agent
Counts grouped by agent and outcome. Surfaces flaky agents:
Latency percentiles by framework
Latency percentiles by framework
p50, p90, and p99 latency grouped by framework:
HTTP status code distribution
HTTP status code distribution
Group by raw
httpStatusCode; rows without one show up as null (rendered as “unknown” in dashboards):Server-type and framework mix
Server-type and framework mix
Cross-tab of transport vs framework:
Failures only by agent
Failures only by agent
Restrict to failed invocations:
Slow invocations
Slow invocations
Volume of invocations slower than 30 seconds, grouped by agent:
Scope to a known set of agents
Scope to a known set of agents
Use
agentName IN [...] to restrict the query to specific agents you care about: