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

Try it

Authentication
Configure credentials for PostHog API
environmentsTracingSpansAggregateCreate
POST/api/environments/{environment_id}/tracing/spans/aggregate/

Parameters

required

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

Input

required

The span 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.environmentsTracingSpansAggregateCreate()