provider error_tracking POST /api/environments/{environment_id}/error_tracking/grouping_rules/
@utdk/posthog /api/environments/{environment_id}/error_tracking/grouping_rules/
environments_error_tracking_grouping_rules_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsErrorTrackingGroupingRulesCreate
POST/api/environments/{environment_id}/error_tracking/grouping_rules/

Parameters

required

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

Input

required

Property-group filters that define which exceptions should be grouped into the same issue.

Optional user or role to assign to issues created by this grouping rule.

Optional human-readable description of what this grouping rule is for.

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