Get trace
Loads a single trace with spans and stats. Pass expand=context to return the agent context bundle (row, stats, spans, and issue occurrences) instead of the default detail payload. Default (no expand) responds with the get_trace detail schema; expand=context responds with the get_trace_context bundle schema. With expand=context, spans_limit/spans_offset page the bundle’s spans (spans_total reports the stored count) and include_attributes/include_events=false drop the payload-heavy span fields.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Trace ID.
Query Parameters
Optional expansion. Omit for the default detail payload; context returns the agent context bundle.
context Project ID. Required when expand=context.
With expand=context: maximum spans in the bundle (max 500).
1 <= x <= 500With expand=context: number of spans to skip.
x >= 0With expand=context: include span attributes (default true).
With expand=context: include span events (default true).
Response
Trace details