get_trace_details
Retrieve a distributed trace as a flat, tree-ordered span list with depths, totals, and unattached errors to diagnose request flow and performance issues. Searches the last 90 days.
Instructions
Get a distributed trace as a compact, flat list of spans/transactions (id, parent id, op, description, transaction, project, duration ms, start time, linked errors) in tree order with depth, plus totals and errors not attached to any span. Searches the last 90 days. Requires performance/tracing data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | Trace ID (32-character hex string). | |
| max_spans | No | Max spans to return (1-500, default: 100). Totals always cover the whole trace. |