API referenceAnalytics

GET /analytics/overview breakdowns) in one call

GET
/analytics/overview

Query Parameters

fresh?boolean

Bypass the 15-second summary cache

since?string

Window start (RFC3339); defaults to 24h before until

until?string

Window end (RFC3339); defaults to now

bucket?string

Time bucket granularity (default hour)

Value in

  • "hour"
  • "day"
dimensions?string

Comma-separated breakdown dimensions (default model,provider,status); each must be a supported breakdown dimension

tagKey?string

Attribute key to group by for a tag dimension

limit?integer

Top-N entries per breakdown (default 50, max 500)

Formatint64
activityClass?string

Business or system activity; omitted includes all

Value in

  • "business"
  • "system"
  • "all"
source?string

Filter by event source (e.g. gateway)

model?string

Filter by request/response model

provider?string

Filter by model provider

app?string

Filter by app id

channel?string

Filter by channel id

environment?string

Filter by environment id or slug

apiKey?string

Filter by API key id

user?string

Filter by end-user id

filterTagKey?string

Custom-dimension (attribute) key to filter on; pair with filterTagValue

filterTagValue?string

Value for filterTagKey

service?string

Filter by service (resource service.name)

operation?string

Filter by operation / span name

errorType?string

Filter by error type

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/analytics/overview"
{  "$schema": "https://example.com/schemas/AnalyticsOverviewOutputBody.json",  "breakdowns": [    {      "dimension": "string",      "rows": [        {          "avgDurationMs": 0.1,          "costUsd": 0.1,          "errorCount": 0,          "eventCount": 0,          "inputTokens": 0,          "key": "string",          "outputTokens": 0,          "totalTokens": 0        }      ]    }  ],  "latency": {    "$schema": "https://example.com/schemas/LatencyPercentilesDTO.json",    "maxDurationMs": 0.1,    "maxTtftMs": 0.1,    "p50DurationMs": 0.1,    "p50TtftMs": 0.1,    "p95DurationMs": 0.1,    "p95TtftMs": 0.1,    "p99DurationMs": 0.1,    "p99TtftMs": 0.1  },  "timeseries": {    "bucket": "string",    "points": [      {        "avgDurationMs": 0.1,        "avgTtftMs": 0.1,        "bucket": "string",        "cacheReadTokens": 0,        "cacheWriteTokens": 0,        "costUsd": 0.1,        "errorCount": 0,        "eventCount": 0,        "inputTokens": 0,        "outputTokens": 0,        "reasoningTokens": 0,        "totalTokens": 0,        "traceCount": 0      }    ]  }}