Get all spans for a specific trace.
Changed onEach span has a duration_ms field (float, milliseconds) — the ONLY field guaranteed to be in milliseconds — plus an attributes map of raw key/value pairs exactly as the instrumenting library reported them. Numeric attribute values (e.g. connection-pool wait times, queue delays) may be in seconds, milliseconds, microseconds, or nanoseconds depending on that library's own convention; this response never labels the unit. When explaining what a span spent time on, only quote milliseconds from duration_ms (or from start_time/end_time deltas) — never assume a raw attribute number is already in milliseconds.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/otel/traces/{project_id}/{trace_id}
- Auth: HTTP bearer
Path parameters
Project ID
Trace ID (hex)
Query parameters
Window start (RFC 3339); pair with end_time, max 31 days
Window end (RFC 3339); pair with start_time, max 31 days
Response
Trace spans tree
Changes
- info
added the new optional
queryrequest parameterend_time - info
added the new optional
queryrequest parameterstart_time - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
deleted the
queryrequest parameterend_time - warning
deleted the
queryrequest parameterstart_time - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning