provider error_tracking POST /api/projects/{project_id}/error_tracking/assignment_rules/
@utdk/posthog /api/projects/{project_id}/error_tracking/assignment_rules/
error_tracking_assignment_rules_create
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
errorTrackingAssignmentRulesCreate
POST/api/projects/{project_id}/error_tracking/assignment_rules/

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

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