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

Try it

Authentication
Configure credentials for PostHog API
environmentsTracingViewsCreate
POST/api/environments/{environment_id}/tracing/views/

Parameters

required

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

Input

required
required
required

Human-readable name shown in the saved views list.

Saved tracing filters — a subset of the frontend TracingFilters shape. May contain dateRange, serviceNames, filterGroup, orderBy, orderDirection, and viewMode.

Whether the view is pinned for quick access.

required
required

User who created the view.

required

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