provider tracing POST /api/environments/{environment_id}/tracing/spans/tree/
@utdk/posthog /api/environments/{environment_id}/tracing/spans/tree/
environments_tracing_spans_tree_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsTracingSpansTreeCreate
POST/api/environments/{environment_id}/tracing/spans/tree/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Input

required

The span call-tree aggregation query to execute.

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.environmentsTracingSpansTreeCreate()