v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Discover

Retrieve Trace Metadata

Retrieve aggregate metadata for a single trace, including counts of spans, errors, performance issues, logs, and metrics, along with per-span-operation and per-transaction child-count breakdowns.

get/api/0/organizations/{organization_id_or_slug}/trace-meta/{trace_id}/

Path parameters

organization_id_or_slugstring required

The ID or slug of the organization the resource belongs to.

trace_idstring required

The ID of the trace, a 32-character hexadecimal string.

Query parameters

statsPeriodstring

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.

startstring date-time

The start of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.

endstring date-time

The end of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.

include_uptime'0' | '1'

Set to 1 to include uptime check counts in the response. Defaults to 0 (disabled).

Response

uptimeCountinteger
errorsCountinteger required
logsCountnumber double required
metricsCountnumber double required
performanceIssuesCountinteger required
spansCountnumber double required
transactionChildCountMapobject[] required
spansCountMapobject required