tracing

post/api/projects/{project_id}/tracing/spans/count/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tracing/spans/count/
  • 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/.

Request body

Response

countinteger required

Number of spans matching the filters.

traceCountinteger required

Number of distinct traces whose root span matches the filters — the trace count shown in the Traces view.

Changes

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