Query spans across all traces. Supports filtering by type, status, model, name, and duration range.
Your AgentMark API key. Create one in the dashboard under Settings > API Keys.
Example: Authorization: Bearer am_live_abc123
Your application ID. Found in the dashboard under Settings > General.
"app_abc123"
Filter by span type.
SPAN, GENERATION, EVENT Filter by span status.
STATUS_CODE_UNSET, STATUS_CODE_OK, STATUS_CODE_ERROR Partial match on span name.
Partial match on model name.
Return spans with duration greater than or equal to this value (milliseconds).
x >= 0Return spans with duration less than or equal to this value (milliseconds).
x >= 0Maximum number of spans to return.
1 <= x <= 500Number of spans to skip for pagination.
x >= 0A list of spans.