GET /trace-groups
Query Parameters
Business or system activity; omitted includes all
Value in
- "business"
- "system"
- "all"
Window start (RFC3339); defaults to 24h before until
Window end (RFC3339); defaults to now
Max traces to return (default 50, max 500)
int64Rows to skip for paging
int640 <= value <= 10000Free-text search over span content/metadata
Keep traces with a span from any of these services
Keep traces with a span with any of these operations / span names
Keep traces with a span using any of these models (request or response)
Keep traces with a span from any of these model providers
Keep traces with a span from any of these agents
Keep traces with a span invoking any of these tools
Keep traces with a span from any of these ingest sources
Keep traces with a span from any of these application ids
Keep traces with a span from any of these environments (slug or id)
Keep traces with a span from any of these API key ids
Keep traces with a span from any of these release/build tags
Keep traces with a span of any of these statuses (e.g. ok/error)
Keep traces with a span from any of these session ids
Keep traces with a span from any of these end-user ids
Keep traces with a span of any of these semantic kinds (e.g. llm)
Keep only traces containing an error span
Keep only traces at least this many ms long
doubleRow ordering: last_seen_desc (default), last_seen_asc, duration_desc, cost_desc, tokens_desc
Value in
- "last_seen_desc"
- "last_seen_asc"
- "duration_desc"
- "cost_desc"
- "tokens_desc"
Bypass the 15-second summary cache
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/trace-groups"{ "$schema": "https://example.com/schemas/TraceGroupsBody.json", "failedTraces": 0, "finishedTraces": 0, "groups": [ { "activityClass": "string", "appId": "string", "environment": "string", "failed": true, "firstErrorType": "string", "firstSeen": "string", "groupKey": "string", "lastSeen": "string", "maxDurationMs": 0.1, "minDurationMs": 0.1, "outcome": "string", "representativeTraceId": "string", "rootSpanName": "string", "serviceName": "string", "traceCount": 0 } ], "since": "string", "totalGroups": 0, "totalTraces": 0, "until": "string"}