List trace spans

http
GET /projects/{project_reference}/traces/{trace_id}/spans

List trace spans. Requires project.logs.read.

Parameters

NameInRequiredDescription
project_referencepathYes
trace_idpathYes
cursorqueryOpaque continuation from page_info.next or page_info.prev.
limitqueryMax spans to return (default: 200, max: 1000).
statusqueryOptional span status filter. Use ok, error, unset, or unknown.
sort_orderqueryOrder by span start time. Defaults to "asc".

Responses

StatusDescription
200Project-visible spans of the trace ordered by start time; page with the cursor. Set status=error to retrieve every error span.
400Bad request
401Unauthorized
403Forbidden
404Not found
429Rate limit exceeded
502Bad gateway
503Service unavailable