GET /analytics/breakdown agent, tool, or tag
Query Parameters
Bypass the 15-second summary cache
Window start (RFC3339); defaults to 24h before until
Window end (RFC3339); defaults to now
Breakdown dimension (default model)
Value in
- "model"
- "provider"
- "status"
- "source"
- "app"
- "channel"
- "apiKey"
- "user"
- "agent"
- "tool"
- "eventType"
- "finishReason"
- "semanticKind"
- "service"
- "operation"
- "errorType"
- "tag"
Attribute key to group by when dimension=tag
Top-N entries (default 50, max 500)
int64Business or system activity; omitted includes all
Value in
- "business"
- "system"
- "all"
Filter by event source (e.g. gateway)
Filter by request/response model
Filter by model provider
Filter by app id
Filter by channel id
Filter by environment id or slug
Filter by API key id
Filter by end-user id
Custom-dimension (attribute) key to filter on; pair with filterTagValue
Value for filterTagKey
Filter by service (resource service.name)
Filter by operation / span name
Filter by error type
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/analytics/breakdown"{ "$schema": "https://example.com/schemas/BreakdownOutputBody.json", "dimension": "string", "rows": [ { "avgDurationMs": 0.1, "costUsd": 0.1, "errorCount": 0, "eventCount": 0, "inputTokens": 0, "key": "string", "outputTokens": 0, "totalTokens": 0 } ]}PATCH /v2/alerts/{alertRuleId} PATCH
Previous Page
POST /analytics/diff appear in a selection vs a baseline cohort' POST
Honeycomb-style BubbleUp. Give a selection cohort and a baseline cohort (each the same filter shape as the other analytics reads, plus errorsOnly / minDurationMs so the selection can be the slow-or-error slice). For each cataloged attribute key it computes the value distribution in both cohorts and ranks keys by how over-represented a value is in the selection. Restrict the diffed keys with 'keys' (else the top cataloged keys are used, capped).