provider tracing GET
/api/projects/{project_id}/tracing/spans/attributes/ @utdk/posthog
/api/projects/{project_id}/tracing/spans/attributes/ tracing_spans_attributes_retrieve
- attribute_type query
- 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
- enum: span_attribute, span_resource_attribute
- 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
- search query
- Search filter for attribute names.
- string
- search_values query
- 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.
- boolean
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.tracingSpansAttributesRetrieve({
"search_values": false
})