API referenceAnalytics
GET /analytics/timeseries
Query Parameters
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"
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/timeseries"{ "$schema": "https://example.com/schemas/TimeseriesOutputBody.json", "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 } ]}