Retrieve a Trace
Retrieve the spans, errors, and (optionally) uptime checks that make up a single trace.
The response is a list of top-level events; each item may have nested children, errors, and occurrences arrays representing related items. Top-level entries are spans by default and may also be uptime checks when include_uptime=1 is passed.
Path parameters
The ID or slug of the organization the resource belongs to.
The ID of the trace, a 32-character hexadecimal string.
Query parameters
The period of time for the query, will override the start & end parameters, a number followed by one of:
- d for days
- h for hours
- m for minutes
- s for seconds
- w for weeks
For example, 24h, to mean query data starting from 24 hours ago to now.
The start of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.
The end of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.
Internal referrer identifier used for query tracing. Most clients can omit this.
A 32-character hexadecimal event ID to bias the trace results toward including.
Additional span attributes to include on each event. Repeat to request multiple.
Set to 1 to include uptime check results in the trace. Defaults to 0.