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

Try it

Authentication
Configure credentials for PostHog API
environmentsErrorTrackingAssignmentRulesCreate
POST/api/environments/{environment_id}/error_tracking/assignment_rules/

Parameters

required

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

Input

required

Property-group filters that define when this rule matches incoming error events.

required

User or role to assign matching issues to.

Evaluation priority among rules; lower is evaluated first and the first matching rule wins. Defaults to 0. Pass distinct ascending values when creating several rules at once to give them a deterministic order.

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.environmentsErrorTrackingAssignmentRulesCreate({
  "order_key": 0
})