provider error_tracking POST /api/projects/{project_id}/error_tracking/suppression_rules/
@utdk/posthog /api/projects/{project_id}/error_tracking/suppression_rules/
error_tracking_suppression_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
errorTrackingSuppressionRulesCreate
POST/api/projects/{project_id}/error_tracking/suppression_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

Optional property-group filters that define which incoming error events should be suppressed. Omit this field or provide an empty `values` array to create a match-all suppression rule.

Probability that a matching event is dropped. `1.0` drops every match (default); `0.0` drops none; `0.5` drops half. Higher values suppress more.

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.errorTrackingSuppressionRulesCreate({
  "sampling_rate": 1
})