provider metricsmetrics POST /api/projects/{project_id}/metrics/characterize/
@utdk/posthog /api/projects/{project_id}/metrics/characterize/
metrics_characterize_create
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
metricsCharacterizeCreate
POST/api/projects/{project_id}/metrics/characterize/
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required

The anomaly characterization to run.

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