PostHog · Schema

ErrorTrackingSuppressionRuleCreateRequest

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
filters object 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.
sampling_rate number Fraction of matching events to suppress. Use `1.0` to suppress all matching events.
View JSON Schema on GitHub

JSON Schema

posthog-errortrackingsuppressionrulecreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorTrackingSuppressionRuleCreateRequest",
  "title": "ErrorTrackingSuppressionRuleCreateRequest",
  "type": "object",
  "properties": {
    "filters": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PropertyGroupFilterValue"
        }
      ],
      "description": "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."
    },
    "sampling_rate": {
      "type": "number",
      "format": "double",
      "maximum": 1.0,
      "minimum": 0.0,
      "default": 1.0,
      "description": "Fraction of matching events to suppress. Use `1.0` to suppress all matching events."
    }
  }
}