tracing

post/api/projects/{project_id}/tracing/spans/trace/{trace_id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tracing/spans/trace/{trace_id}/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

trace_idstring required

Request body

excludeAttributesboolean

Omit the per-span attributes and resource attributes maps from results to keep payloads compact. Defaults to false.

offsetinteger

Pagination offset into the trace's spans (ordered by start time ascending). Each page returns up to 2000 spans; pass the response's nextOffset to load the next page. Defaults to 0.

Response

hasMoreboolean required

Whether a further page of spans exists.

nextOffsetinteger nullable required

Offset for the next page, or null on the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.