provider web_vitals GET /api/environments/{environment_id}/web_vitals/
@utdk/posthog /api/environments/{environment_id}/web_vitals/
environments_web_vitals_retrieve
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
pathname query required
Filter web vitals by pathname
string

Try it

Authentication
Configure credentials for PostHog API
environmentsWebVitalsRetrieve
GET/api/environments/{environment_id}/web_vitals/
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).

Parameters

required

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

required

Filter web vitals by pathname

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