Retrieve a specific trace by ID, including all its spans. Supports filtering spans by type, status, name, model, and duration.
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"
The trace ID to retrieve.
Filter spans by type.
SPAN, GENERATION, EVENT Filter spans by status.
0, 1, 2 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 >= 0The trace with its spans.