provider tracing GET /api/projects/{project_id}/tracing/spans/values/
@utdk/posthog /api/projects/{project_id}/tracing/spans/values/
tracing_spans_values_retrieve
attribute_type query
Type of attribute: "span" for built-in span fields (e.g. name), "span_attribute" for span-level attributes, "span_resource_attribute" for resource-level attributes. * `span` - span * `span_attribute` - span_attribute * `span_resource_attribute` - span_resource_attribute
enum: span, span_attribute, span_resource_attribute
key query required
The attribute key to get values for.
string
limit query
Max results (default: 100).
integer
offset query
Pagination offset (default: 0).
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
value query
Search filter for attribute values.
string

Try it

Authentication
Configure credentials for PostHog API
tracingSpansValuesRetrieve
GET/api/projects/{project_id}/tracing/spans/values/

Parameters

required

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

Type of attribute: "span" for built-in span fields (e.g. name), "span_attribute" for span-level attributes, "span_resource_attribute" for resource-level attributes. * `span` - span * `span_attribute` - span_attribute * `span_resource_attribute` - span_resource_attribute

required

The attribute key to get values for.

Max results (default: 100).

Pagination offset (default: 0).

Search filter for attribute values.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.tracingSpansValuesRetrieve()