provider tracing GET
/api/environments/{environment_id}/tracing/spans/attributes/ @utdk/posthog
/api/environments/{environment_id}/tracing/spans/attributes/ environments_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
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- limit query
- Max results (default: 100).
- integer
- offset query
- Pagination offset (default: 0).
- integer
- 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.environmentsTracingSpansAttributesRetrieve({
"search_values": false
})