tracing

get/api/projects/{project_id}/tracing/spans/attributes/

Request

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

Query parameters

attribute_type'span_attribute' | 'span_resource_attribute'

Type of attributes: "span_attribute" for span-level attributes, "span_resource_attribute" for resource-level attributes.

  • span_attribute - span_attribute
  • span_resource_attribute - span_resource_attribute
limitinteger

Max results (default: 100).

offsetinteger

Pagination offset (default: 0).

searchstring

Search filter for attribute names.

search_valuesboolean

When true, the search query also matches attribute values (not just keys), so a value such as a trace_id finds the key holding it.

Response

countinteger required

Total attribute keys matched (lower bound when searching values).

Changes

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