:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(error-tracking): expose rate limit bypass rules via MCP (#67667)
Aleksander Błaszkiewiczab4fe9ff2861
diff --git a/posthog/hogql/database/schema/system.py b/posthog/hogql/database/schema/system.pyindex 7cc141457779..73d54df4f315 100644--- a/posthog/hogql/database/schema/system.py+++ b/posthog/hogql/database/schema/system.py@@ -1362,6 +1362,29 @@ error_tracking_assignment_rules: PostgresTable = PostgresTable(},)+error_tracking_bypass_rules: PostgresTable = PostgresTable(+ name="error_tracking_bypass_rules",+ postgres_table_name="posthog_errortrackingbypassrule",+ access_scope="error_tracking",+ description="Rules that exempt matching exceptions from error tracking rate limits; one row per rule.",+ fields={+ "id": StringDatabaseField(name="id", description="Rule UUID."),+ "team_id": IntegerDatabaseField(name="team_id"),+ "order_key": IntegerDatabaseField(name="order_key", description="Evaluation order; lower runs first."),+ "filters": StringJSONDatabaseField(+ name="filters", description="JSON conditions an exception must match for the rule to apply."+ ),+ "bytecode": StringJSONDatabaseField(+ name="bytecode", nullable=True, description="Compiled Hog bytecode for the filters."+ ),+ "disabled_data": StringJSONDatabaseField(+ name="disabled_data", nullable=True, description="JSON state when the rule is disabled; NULL when active."+ ),+ "created_at": DateTimeDatabaseField(name="created_at", description="When the rule was created."),+ "updated_at": DateTimeDatabaseField(name="updated_at", description="When the rule was last updated."),+ },+)+error_tracking_suppression_rules: PostgresTable = PostgresTable(name="error_tracking_suppression_rules",postgres_table_name="posthog_errortrackingsuppressionrule",@@ -2074,6 +2097,7 @@ class SystemTables(TableNode):"error_tracking_assignment_rules": TableNode(name="error_tracking_assignment_rules", table=error_tracking_assignment_rules),+ "error_tracking_bypass_rules": TableNode(name="error_tracking_bypass_rules", table=error_tracking_bypass_rules),"error_tracking_issue_assignments": TableNode(name="error_tracking_issue_assignments", table=error_tracking_issue_assignments),diff --git a/posthog/hogql/database/schema/test/test_system_tables.py b/posthog/hogql/database/schema/test/test_system_tables.pyindex 3105c2666ab9..32260d4dc789 100644--- a/posthog/hogql/database/schema/test/test_system_tables.py+++ b/posthog/hogql/database/schema/test/test_system_tables.py@@ -316,6 +316,14 @@ def _create_error_tracking_assignment_rule(team: Team, label: str):)+def _create_error_tracking_bypass_rule(team: Team, label: str):+ from products.error_tracking.backend.models import ErrorTrackingBypassRule++ return ErrorTrackingBypassRule.objects.create(+ team=team, filters={"type": "AND", "values": []}, bytecode=[], order_key=0+ )++def _create_error_tracking_suppression_rule(team: Team, label: str):from products.error_tracking.backend.models import ErrorTrackingSuppressionRule@@ -651,6 +659,7 @@ SYSTEM_TABLE_FACTORIES = [("data_modeling_endpoint_versions", _create_endpoint_version),("data_modeling_endpoints", _create_endpoint),("error_tracking_assignment_rules", _create_error_tracking_assignment_rule),+ ("error_tracking_bypass_rules", _create_error_tracking_bypass_rule),("error_tracking_issue_assignments", _create_error_tracking_issue_assignment),("error_tracking_issue_fingerprints", _create_error_tracking_issue_fingerprint),("source_sync_jobs", _create_source_sync_job),diff --git a/posthog/hogql/database/test/__snapshots__/test_database.ambr b/posthog/hogql/database/test/__snapshots__/test_database.ambrindex 0412e1186e96..7e3010d847c5 100644--- a/posthog/hogql/database/test/__snapshots__/test_database.ambr+++ b/posthog/hogql/database/test/__snapshots__/test_database.ambr@@ -4892,6 +4892,84 @@"row_count": null,"type": "system"},+ "system.error_tracking_bypass_rules": {+ "fields": {+ "id": {+ "chain": null,+ "fields": null,+ "hogql_value": "id",+ "id": null,+ "name": "id",+ "schema_valid": true,+ "table": null,+ "type": "string"+ },+ "order_key": {+ "chain": null,+ "fields": null,+ "hogql_value": "order_key",+ "id": null,+ "name": "order_key",+ "schema_valid": true,+ "table": null,+ "type": "integer"+ },+ "filters": {+ "chain": null,+ "fields": null,+ "hogql_value": "filters",+ "id": null,+ "name": "filters",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "bytecode": {+ "chain": null,+ "fields": null,+ "hogql_value": "bytecode",+ "id": null,+ "name": "bytecode",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "disabled_data": {+ "chain": null,+ "fields": null,+ "hogql_value": "disabled_data",+ "id": null,+ "name": "disabled_data",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "created_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "created_at",+ "id": null,+ "name": "created_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ },+ "updated_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "updated_at",+ "id": null,+ "name": "updated_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ }+ },+ "id": "system.error_tracking_bypass_rules",+ "name": "system.error_tracking_bypass_rules",+ "row_count": null,+ "type": "system"+ },"system.error_tracking_issue_assignments": {"fields": {"id": {@@ -13410,6 +13488,84 @@"row_count": null,"type": "system"},+ "system.error_tracking_bypass_rules": {+ "fields": {+ "id": {+ "chain": null,+ "fields": null,+ "hogql_value": "id",+ "id": null,+ "name": "id",+ "schema_valid": true,+ "table": null,+ "type": "string"+ },+ "order_key": {+ "chain": null,+ "fields": null,+ "hogql_value": "order_key",+ "id": null,+ "name": "order_key",+ "schema_valid": true,+ "table": null,+ "type": "integer"+ },+ "filters": {+ "chain": null,+ "fields": null,+ "hogql_value": "filters",+ "id": null,+ "name": "filters",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "bytecode": {+ "chain": null,+ "fields": null,+ "hogql_value": "bytecode",+ "id": null,+ "name": "bytecode",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "disabled_data": {+ "chain": null,+ "fields": null,+ "hogql_value": "disabled_data",+ "id": null,+ "name": "disabled_data",+ "schema_valid": true,+ "table": null,+ "type": "json"+ },+ "created_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "created_at",+ "id": null,+ "name": "created_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ },+ "updated_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "updated_at",+ "id": null,+ "name": "updated_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ }+ },+ "id": "system.error_tracking_bypass_rules",+ "name": "system.error_tracking_bypass_rules",+ "row_count": null,+ "type": "system"+ },"system.error_tracking_issue_assignments": {"fields": {"id": {diff --git a/products/error_tracking/mcp/tools.yaml b/products/error_tracking/mcp/tools.yamlindex 109428c17e28..14a6aed4c74e 100644--- a/products/error_tracking/mcp/tools.yaml+++ b/products/error_tracking/mcp/tools.yaml@@ -63,13 +63,38 @@ tools:enabled: falseerror-tracking-bypass-rules-create:operation: error_tracking_bypass_rules_create- enabled: false+ enabled: true+ scopes:+ - error_tracking:write+ annotations:+ readOnly: false+ destructive: true+ idempotent: false+ title: Create error tracking bypass rule+ description: >+ Create a rate limit bypass rule for the current project. Exception events matching the rule skip both the+ project-wide and per-issue exception rate limits and are always ingested. Provide `filters` with at least+ one condition — empty match-all rules are rejected; to stop rate limiting entirely, update the rate limits+ via error-tracking-settings-update instead. Keep filters scoped to the specific errors that must never be+ dropped: bypassed events are ingested and billed even during error spikes, so a broad rule can cause+ unbounded volume.error-tracking-bypass-rules-destroy:operation: error_tracking_bypass_rules_destroyenabled: falseerror-tracking-bypass-rules-list:operation: error_tracking_bypass_rules_list- enabled: false+ enabled: true+ scopes:+ - error_tracking:read+ annotations:+ readOnly: true+ destructive: false+ idempotent: true+ title: List error tracking bypass rules+ description: >+ List rate limit bypass rules for the current project. Exception events matching a rule skip the project-wide+ and per-issue exception rate limits. Returns rules in evaluation order with their filters and disabled+ state. Supports pagination with `limit` and `offset`.error-tracking-bypass-rules-partial-update:operation: error_tracking_bypass_rules_partial_updateenabled: false@@ -81,7 +106,19 @@ tools:enabled: falseerror-tracking-bypass-rules-update:operation: error_tracking_bypass_rules_update- enabled: false+ enabled: true+ scopes:+ - error_tracking:write+ annotations:+ readOnly: false+ destructive: true+ idempotent: true+ title: Update error tracking bypass rule+ description: >+ Update a rate limit bypass rule's `filters` by ID. Omit `filters` to leave them unchanged. Editing the rule+ also clears any auto-disable state so the rule is re-enabled. Broadening filters exempts more exception+ events from rate limiting, which can increase ingested (and billed) volume during error spikes — keep them+ scoped to the specific errors that must never be dropped.error-tracking-external-references-create:operation: error_tracking_external_references_createenabled: truediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex b6e68c561560..e42c308979d8 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -2593,6 +2593,48 @@"readOnlyHint": true}},+ "error-tracking-bypass-rules-create": {+ "description": "Create a rate limit bypass rule for the current project. Exception events matching the rule skip both the project-wide and per-issue exception rate limits and are always ingested. Provide `filters` with at least one condition — empty match-all rules are rejected; to stop rate limiting entirely, update the rate limits via error-tracking-settings-update instead. Keep filters scoped to the specific errors that must never be dropped: bypassed events are ingested and billed even during error spikes, so a broad rule can cause unbounded volume.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "Create error tracking bypass rule",+ "title": "Create error tracking bypass rule",+ "required_scopes": ["error_tracking:write"],+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": false,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "error-tracking-bypass-rules-list": {+ "description": "List rate limit bypass rules for the current project. Exception events matching a rule skip the project-wide and per-issue exception rate limits. Returns rules in evaluation order with their filters and disabled state. Supports pagination with `limit` and `offset`.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "List error tracking bypass rules",+ "title": "List error tracking bypass rules",+ "required_scopes": ["error_tracking:read"],+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },+ "error-tracking-bypass-rules-update": {+ "description": "Update a rate limit bypass rule's `filters` by ID. Omit `filters` to leave them unchanged. Editing the rule also clears any auto-disable state so the rule is re-enabled. Broadening filters exempts more exception events from rate limiting, which can increase ingested (and billed) volume during error spikes — keep them scoped to the specific errors that must never be dropped.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "Update error tracking bypass rule",+ "title": "Update error tracking bypass rule",+ "required_scopes": ["error_tracking:write"],+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },"error-tracking-external-references-create": {"description": "Create a new external issue in GitHub, GitLab, Linear, or Jira, then link it to a PostHog error tracking issue as an external reference. This tool does not link an existing external issue by URL or key. Provide the error tracking issue id as `issue`, the connected integration as `integration_id`, and a `config` object with provider-specific fields. Examples: Jira config {\"project_key\":\"ENG\",\"title\":\"Checkout TypeError\",\"description\":\"Stack trace and reproduction details\"}; Linear config {\"team_id\":\"team-id\",\"title\":\"Checkout TypeError\",\"description\":\"Stack trace and reproduction details\"}; GitHub config {\"repository\":\"posthog\",\"title\":\"Checkout TypeError\",\"body\":\"Stack trace and reproduction details\"}; GitLab config {\"title\":\"Checkout TypeError\",\"body\":\"Stack trace and reproduction details\"}. Required `config` keys by integration kind: github -> {repository, title, body}; gitlab -> {title, body}; linear -> {team_id, title, description}; jira -> {project_key, title, description}. Use integrations-list first to find the `integration_id` and kind; use integrations-jira-projects-retrieve, integrations-linear-teams-retrieve, or integrations-github-repos-retrieve when you need provider-specific IDs.","category": "Error tracking",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex d8391e0a948d..8e6716141bc6 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -2637,6 +2637,48 @@"readOnlyHint": true}},+ "error-tracking-bypass-rules-create": {+ "description": "Create a rate limit bypass rule for the current project. Exception events matching the rule skip both the project-wide and per-issue exception rate limits and are always ingested. Provide `filters` with at least one condition — empty match-all rules are rejected; to stop rate limiting entirely, update the rate limits via error-tracking-settings-update instead. Keep filters scoped to the specific errors that must never be dropped: bypassed events are ingested and billed even during error spikes, so a broad rule can cause unbounded volume.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "Create error tracking bypass rule",+ "title": "Create error tracking bypass rule",+ "required_scopes": ["error_tracking:write"],+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": false,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "error-tracking-bypass-rules-list": {+ "description": "List rate limit bypass rules for the current project. Exception events matching a rule skip the project-wide and per-issue exception rate limits. Returns rules in evaluation order with their filters and disabled state. Supports pagination with `limit` and `offset`.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "List error tracking bypass rules",+ "title": "List error tracking bypass rules",+ "required_scopes": ["error_tracking:read"],+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },+ "error-tracking-bypass-rules-update": {+ "description": "Update a rate limit bypass rule's `filters` by ID. Omit `filters` to leave them unchanged. Editing the rule also clears any auto-disable state so the rule is re-enabled. Broadening filters exempts more exception events from rate limiting, which can increase ingested (and billed) volume during error spikes — keep them scoped to the specific errors that must never be dropped.",+ "category": "Error tracking",+ "feature": "error_tracking",+ "summary": "Update error tracking bypass rule",+ "title": "Update error tracking bypass rule",+ "required_scopes": ["error_tracking:write"],+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },"error-tracking-external-references-create": {"description": "Create a new external issue in GitHub, GitLab, Linear, or Jira, then link it to a PostHog error tracking issue as an external reference. This tool does not link an existing external issue by URL or key. Provide the error tracking issue id as `issue`, the connected integration as `integration_id`, and a `config` object with provider-specific fields. Examples: Jira config {\"project_key\":\"ENG\",\"title\":\"Checkout TypeError\",\"description\":\"Stack trace and reproduction details\"}; Linear config {\"team_id\":\"team-id\",\"title\":\"Checkout TypeError\",\"description\":\"Stack trace and reproduction details\"}; GitHub config {\"repository\":\"posthog\",\"title\":\"Checkout TypeError\",\"body\":\"Stack trace and reproduction details\"}; GitLab config {\"title\":\"Checkout TypeError\",\"body\":\"Stack trace and reproduction details\"}. Required `config` keys by integration kind: github -> {repository, title, body}; gitlab -> {title, body}; linear -> {team_id, title, description}; jira -> {project_key, title, description}. Use integrations-list first to find the `integration_id` and kind; use integrations-jira-projects-retrieve, integrations-linear-teams-retrieve, or integrations-github-repos-retrieve when you need provider-specific IDs.","category": "Error tracking",diff --git a/services/mcp/src/generated/error_tracking/api.ts b/services/mcp/src/generated/error_tracking/api.tsindex 46573543f809..2d31d1848db9 100644--- a/services/mcp/src/generated/error_tracking/api.ts+++ b/services/mcp/src/generated/error_tracking/api.ts@@ -3,7 +3,7 @@* MCP service uses these Zod schemas for generated tool handlers.* To regenerate: hogli build:openapi*- * PostHog API - MCP 21 enabled ops+ * PostHog API - MCP 24 enabled ops* OpenAPI spec version: 1.0.0*/import * as zod from 'zod'@@ -1065,6 +1065,2073 @@ export const ErrorTrackingAssignmentRulesCreateBody = /* @__PURE__ */ zod.object),})+export const ErrorTrackingBypassRulesListParams = /* @__PURE__ */ zod.object({+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const ErrorTrackingBypassRulesListQueryParams = /* @__PURE__ */ zod.object({+ limit: zod.number().optional().describe('Number of results to return per page.'),+ offset: zod.number().optional().describe('The initial index from which to return the results.'),+})++export const ErrorTrackingBypassRulesCreateParams = /* @__PURE__ */ zod.object({+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwoOperatorDefault = `exact`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwoTypeDefault = `event`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemThreeTypeDefault = `person`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemFourTypeDefault = `person_metadata`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemFiveTypeDefault = `element`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemSixTypeDefault = `event_metadata`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemSevenTypeDefault = `session`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightKeyDefault = `id`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightOperatorDefault = `in`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightTypeDefault = `cohort`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemNineTypeDefault = `recording`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnezeroTypeDefault = `log_entry`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOneoneTypeDefault = `group`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnetwoTypeDefault = `feature`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnethreeOperatorDefault = `flag_evaluates_to`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnethreeTypeDefault = `flag`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnefourTypeDefault = `hogql`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnefiveTypeDefault = `empty`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnesixTypeDefault = `data_warehouse`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnesevenTypeDefault = `data_warehouse_person_property`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOneeightTypeDefault = `error_tracking_issue`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwooneTypeDefault = `revenue_analytics`+export const errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwotwoTypeDefault = `workflow_variable`++export const ErrorTrackingBypassRulesCreateBody = /* @__PURE__ */ zod.object({+ filters: zod+ .object({+ type: zod.enum(['AND', 'OR']),+ values: zod.array(+ zod.union([+ zod.unknown(),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .union([+ zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ zod.null(),+ ])+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwoOperatorDefault),+ type: zod+ .literal('event')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwoTypeDefault)+ .describe('Event properties'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('person')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemThreeTypeDefault)+ .describe('Person properties'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('person_metadata')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemFourTypeDefault)+ .describe('Top-level columns on the persons table (e.g. created_at), not properties JSON'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.enum(['tag_name', 'text', 'href', 'selector']),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('element')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemFiveTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('event_metadata')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemSixTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('session')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemSevenTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ cohort_name: zod.union([zod.string(), zod.null()]).optional(),+ key: zod+ .literal('id')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightKeyDefault),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .union([+ zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ zod.null(),+ ])+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightOperatorDefault),+ type: zod+ .literal('cohort')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemEightTypeDefault),+ value: zod.number(),+ }),+ zod.object({+ key: zod.union([zod.enum(['duration', 'active_seconds', 'inactive_seconds']), zod.string()]),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('recording')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemNineTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('log_entry')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnezeroTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ group_key_names: zod.union([zod.record(zod.string(), zod.string()), zod.null()]).optional(),+ group_type_index: zod.union([zod.number(), zod.null()]).optional(),+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('group')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOneoneTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('feature')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnetwoTypeDefault)+ .describe('Event property with "$feature/" prepended'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string().describe('The key should be the flag ID'),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .literal('flag_evaluates_to')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnethreeOperatorDefault)+ .describe('Only flag_evaluates_to operator is allowed for flag dependencies'),+ type: zod+ .literal('flag')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnethreeTypeDefault)+ .describe('Feature flag dependency'),+ value: zod+ .union([zod.boolean(), zod.string()])+ .describe('The value can be true, false, or a variant name'),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ type: zod+ .literal('hogql')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnefourTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ type: zod+ .literal('empty')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnefiveTypeDefault),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('data_warehouse')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnesixTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('data_warehouse_person_property')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOnesevenTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('error_tracking_issue')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemOneeightTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod.enum(['log', 'log_attribute', 'log_resource_attribute']),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod.enum(['span', 'span_attribute', 'span_resource_attribute']),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('revenue_analytics')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwooneTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('workflow_variable')+ .default(errorTrackingBypassRulesCreateBodyFiltersOneValuesItemTwotwoTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ ])+ ),+ })+ .describe(+ 'Property-group filters that define which incoming error events bypass rate limiting. Must contain at least one filter — empty rules are rejected. To stop rate limiting entirely, adjust the rate limit settings instead of creating a match-all bypass rule.'+ ),+})++export const ErrorTrackingBypassRulesUpdateParams = /* @__PURE__ */ zod.object({+ id: zod.string(),+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwoOperatorDefault = `exact`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwoTypeDefault = `event`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemThreeTypeDefault = `person`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemFourTypeDefault = `person_metadata`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemFiveTypeDefault = `element`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemSixTypeDefault = `event_metadata`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemSevenTypeDefault = `session`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightKeyDefault = `id`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightOperatorDefault = `in`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightTypeDefault = `cohort`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemNineTypeDefault = `recording`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnezeroTypeDefault = `log_entry`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOneoneTypeDefault = `group`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnetwoTypeDefault = `feature`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnethreeOperatorDefault = `flag_evaluates_to`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnethreeTypeDefault = `flag`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnefourTypeDefault = `hogql`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnefiveTypeDefault = `empty`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnesixTypeDefault = `data_warehouse`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnesevenTypeDefault = `data_warehouse_person_property`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOneeightTypeDefault = `error_tracking_issue`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwooneTypeDefault = `revenue_analytics`+export const errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwotwoTypeDefault = `workflow_variable`++export const ErrorTrackingBypassRulesUpdateBody = /* @__PURE__ */ zod.object({+ filters: zod+ .object({+ type: zod.enum(['AND', 'OR']),+ values: zod.array(+ zod.union([+ zod.unknown(),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .union([+ zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ zod.null(),+ ])+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwoOperatorDefault),+ type: zod+ .literal('event')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwoTypeDefault)+ .describe('Event properties'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('person')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemThreeTypeDefault)+ .describe('Person properties'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('person_metadata')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemFourTypeDefault)+ .describe('Top-level columns on the persons table (e.g. created_at), not properties JSON'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.enum(['tag_name', 'text', 'href', 'selector']),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('element')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemFiveTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('event_metadata')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemSixTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('session')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemSevenTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ cohort_name: zod.union([zod.string(), zod.null()]).optional(),+ key: zod+ .literal('id')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightKeyDefault),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .union([+ zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ zod.null(),+ ])+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightOperatorDefault),+ type: zod+ .literal('cohort')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemEightTypeDefault),+ value: zod.number(),+ }),+ zod.object({+ key: zod.union([zod.enum(['duration', 'active_seconds', 'inactive_seconds']), zod.string()]),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('recording')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemNineTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('log_entry')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnezeroTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ group_key_names: zod.union([zod.record(zod.string(), zod.string()), zod.null()]).optional(),+ group_type_index: zod.union([zod.number(), zod.null()]).optional(),+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('group')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOneoneTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('feature')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnetwoTypeDefault)+ .describe('Event property with "$feature/" prepended'),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string().describe('The key should be the flag ID'),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod+ .literal('flag_evaluates_to')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnethreeOperatorDefault)+ .describe('Only flag_evaluates_to operator is allowed for flag dependencies'),+ type: zod+ .literal('flag')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnethreeTypeDefault)+ .describe('Feature flag dependency'),+ value: zod+ .union([zod.boolean(), zod.string()])+ .describe('The value can be true, false, or a variant name'),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ type: zod+ .literal('hogql')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnefourTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ type: zod+ .literal('empty')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnefiveTypeDefault),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('data_warehouse')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnesixTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('data_warehouse_person_property')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOnesevenTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('error_tracking_issue')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemOneeightTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod.enum(['log', 'log_attribute', 'log_resource_attribute']),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod.enum(['span', 'span_attribute', 'span_resource_attribute']),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('revenue_analytics')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwooneTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ zod.object({+ key: zod.string(),+ label: zod.union([zod.string(), zod.null()]).optional(),+ operator: zod.enum([+ 'exact',+ 'is_not',+ 'icontains',+ 'not_icontains',+ 'regex',+ 'not_regex',+ 'gt',+ 'gte',+ 'lt',+ 'lte',+ 'is_set',+ 'is_not_set',+ 'is_date_exact',+ 'is_date_before',+ 'is_date_after',+ 'between',+ 'not_between',+ 'min',+ 'max',+ 'in',+ 'not_in',+ 'is_cleaned_path_exact',+ 'flag_evaluates_to',+ 'semver_eq',+ 'semver_neq',+ 'semver_gt',+ 'semver_gte',+ 'semver_lt',+ 'semver_lte',+ 'semver_tilde',+ 'semver_caret',+ 'semver_wildcard',+ 'icontains_multi',+ 'not_icontains_multi',+ ]),+ type: zod+ .literal('workflow_variable')+ .default(errorTrackingBypassRulesUpdateBodyFiltersOneValuesItemTwotwoTypeDefault),+ value: zod+ .union([+ zod.array(zod.union([zod.string(), zod.number(), zod.boolean()])),+ zod.string(),+ zod.number(),+ zod.boolean(),+ zod.null(),+ ])+ .optional(),+ }),+ ])+ ),+ })+ .optional()+ .describe(+ 'Property-group filters that define which incoming error events bypass rate limiting. Must contain at least one filter. Omit to preserve the existing filters.'+ ),+})+export const ErrorTrackingExternalReferencesCreateParams = /* @__PURE__ */ zod.object({project_id: zod.string()diff --git a/services/mcp/src/tools/generated/error_tracking.ts b/services/mcp/src/tools/generated/error_tracking.tsindex c0e4c9b53448..3dbf7b665339 100644--- a/services/mcp/src/tools/generated/error_tracking.ts+++ b/services/mcp/src/tools/generated/error_tracking.ts@@ -5,6 +5,10 @@ import type { Schemas } from '@/api/generated'import {ErrorTrackingAssignmentRulesCreateBody,ErrorTrackingAssignmentRulesListQueryParams,+ ErrorTrackingBypassRulesCreateBody,+ ErrorTrackingBypassRulesListQueryParams,+ ErrorTrackingBypassRulesUpdateBody,+ ErrorTrackingBypassRulesUpdateParams,ErrorTrackingExternalReferencesCreateBody,ErrorTrackingGroupingRulesCreateBody,ErrorTrackingGroupingRulesUpdateBody,@@ -83,6 +87,73 @@ const errorTrackingAssignmentRulesList = (): ToolBase<},})+const ErrorTrackingBypassRulesCreateSchema = ErrorTrackingBypassRulesCreateBody++const errorTrackingBypassRulesCreate = (): ToolBase<+ typeof ErrorTrackingBypassRulesCreateSchema,+ Schemas.ErrorTrackingBypassRule+> => ({+ name: 'error-tracking-bypass-rules-create',+ schema: ErrorTrackingBypassRulesCreateSchema,+ handler: async (context: Context, params: z.infer<typeof ErrorTrackingBypassRulesCreateSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const body: Record<string, unknown> = {}+ if (params.filters !== undefined) {+ body['filters'] = params.filters+ }+ const result = await context.api.request<Schemas.ErrorTrackingBypassRule>({+ method: 'POST',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/error_tracking/bypass_rules/`,+ body,+ })+ return result+ },+})++const ErrorTrackingBypassRulesListSchema = ErrorTrackingBypassRulesListQueryParams++const errorTrackingBypassRulesList = (): ToolBase<+ typeof ErrorTrackingBypassRulesListSchema,+ Schemas.PaginatedErrorTrackingBypassRuleList+> => ({+ name: 'error-tracking-bypass-rules-list',+ schema: ErrorTrackingBypassRulesListSchema,+ handler: async (context: Context, params: z.infer<typeof ErrorTrackingBypassRulesListSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const result = await context.api.request<Schemas.PaginatedErrorTrackingBypassRuleList>({+ method: 'GET',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/error_tracking/bypass_rules/`,+ query: {+ limit: params.limit,+ offset: params.offset,+ },+ })+ return result+ },+})++const ErrorTrackingBypassRulesUpdateSchema = ErrorTrackingBypassRulesUpdateParams.omit({ project_id: true }).extend(+ ErrorTrackingBypassRulesUpdateBody.shape+)++const errorTrackingBypassRulesUpdate = (): ToolBase<typeof ErrorTrackingBypassRulesUpdateSchema, unknown> => ({+ name: 'error-tracking-bypass-rules-update',+ schema: ErrorTrackingBypassRulesUpdateSchema,+ handler: async (context: Context, params: z.infer<typeof ErrorTrackingBypassRulesUpdateSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const body: Record<string, unknown> = {}+ if (params.filters !== undefined) {+ body['filters'] = params.filters+ }+ const result = await context.api.request<unknown>({+ method: 'PUT',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/error_tracking/bypass_rules/${encodeURIComponent(String(params.id))}/`,+ body,+ })+ return result+ },+})+const ErrorTrackingExternalReferencesCreateSchema = ErrorTrackingExternalReferencesCreateBodyconst errorTrackingExternalReferencesCreate = (): ToolBase<@@ -693,6 +764,9 @@ const queryErrorTrackingIssuesList = (): ToolBase<export const GENERATED_TOOLS: Record<string, () => ToolBase<ZodObjectAny>> = {'error-tracking-assignment-rules-create': errorTrackingAssignmentRulesCreate,'error-tracking-assignment-rules-list': errorTrackingAssignmentRulesList,+ 'error-tracking-bypass-rules-create': errorTrackingBypassRulesCreate,+ 'error-tracking-bypass-rules-list': errorTrackingBypassRulesList,+ 'error-tracking-bypass-rules-update': errorTrackingBypassRulesUpdate,'error-tracking-external-references-create': errorTrackingExternalReferencesCreate,'error-tracking-grouping-rules-create': errorTrackingGroupingRulesCreate,'error-tracking-grouping-rules-list': errorTrackingGroupingRulesList,diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.jsonnew file mode 100644index 000000000000..656e182d37a7--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-create.json@@ -0,0 +1,1881 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "filters": {+ "description": "Property-group filters that define which incoming error events bypass rate limiting. Must contain at least one filter — empty rules are rejected. To stop rate limiting entirely, adjust the rate limit settings instead of creating a match-all bypass rule.",+ "properties": {+ "type": {+ "enum": ["AND", "OR"],+ "type": "string"+ },+ "values": {+ "items": {+ "anyOf": [+ {},+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "anyOf": [+ {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "exact"+ },+ "type": {+ "const": "event",+ "default": "event",+ "description": "Event properties",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "person",+ "default": "person",+ "description": "Person properties",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "person_metadata",+ "default": "person_metadata",+ "description": "Top-level columns on the persons table (e.g. created_at), not properties JSON",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "enum": ["tag_name", "text", "href", "selector"],+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "element",+ "default": "element",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "event_metadata",+ "default": "event_metadata",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "session",+ "default": "session",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "cohort_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "key": {+ "const": "id",+ "default": "id",+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "anyOf": [+ {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "in"+ },+ "type": {+ "const": "cohort",+ "default": "cohort",+ "type": "string"+ },+ "value": {+ "type": "number"+ }+ },+ "required": ["value"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "anyOf": [+ {+ "enum": ["duration", "active_seconds", "inactive_seconds"],+ "type": "string"+ },+ {+ "type": "string"+ }+ ]+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "recording",+ "default": "recording",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "log_entry",+ "default": "log_entry",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "group_key_names": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "propertyNames": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ]+ },+ "group_type_index": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "group",+ "default": "group",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "feature",+ "default": "feature",+ "description": "Event property with \"$feature/\" prepended",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "description": "The key should be the flag ID",+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "const": "flag_evaluates_to",+ "default": "flag_evaluates_to",+ "description": "Only flag_evaluates_to operator is allowed for flag dependencies",+ "type": "string"+ },+ "type": {+ "const": "flag",+ "default": "flag",+ "description": "Feature flag dependency",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "string"+ }+ ],+ "description": "The value can be true, false, or a variant name"+ }+ },+ "required": ["key", "value"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "type": {+ "const": "hogql",+ "default": "hogql",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key"],+ "type": "object"+ },+ {+ "properties": {+ "type": {+ "const": "empty",+ "default": "empty",+ "type": "string"+ }+ },+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "data_warehouse",+ "default": "data_warehouse",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "data_warehouse_person_property",+ "default": "data_warehouse_person_property",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "error_tracking_issue",+ "default": "error_tracking_issue",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "enum": ["log", "log_attribute", "log_resource_attribute"],+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator", "type"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "enum": ["span", "span_attribute", "span_resource_attribute"],+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator", "type"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "revenue_analytics",+ "default": "revenue_analytics",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "workflow_variable",+ "default": "workflow_variable",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ }+ ]+ },+ "type": "array"+ }+ },+ "required": ["type", "values"],+ "type": "object"+ }+ },+ "required": ["filters"],+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-list.jsonnew file mode 100644index 000000000000..8331b796ac73--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-list.json@@ -0,0 +1,14 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "limit": {+ "description": "Number of results to return per page.",+ "type": "number"+ },+ "offset": {+ "description": "The initial index from which to return the results.",+ "type": "number"+ }+ },+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.jsonnew file mode 100644index 000000000000..495ce7278950--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/error-tracking-bypass-rules-update.json@@ -0,0 +1,1884 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "filters": {+ "description": "Property-group filters that define which incoming error events bypass rate limiting. Must contain at least one filter. Omit to preserve the existing filters.",+ "properties": {+ "type": {+ "enum": ["AND", "OR"],+ "type": "string"+ },+ "values": {+ "items": {+ "anyOf": [+ {},+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "anyOf": [+ {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "exact"+ },+ "type": {+ "const": "event",+ "default": "event",+ "description": "Event properties",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "person",+ "default": "person",+ "description": "Person properties",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "person_metadata",+ "default": "person_metadata",+ "description": "Top-level columns on the persons table (e.g. created_at), not properties JSON",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "enum": ["tag_name", "text", "href", "selector"],+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "element",+ "default": "element",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "event_metadata",+ "default": "event_metadata",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "session",+ "default": "session",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "cohort_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "key": {+ "const": "id",+ "default": "id",+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "anyOf": [+ {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "in"+ },+ "type": {+ "const": "cohort",+ "default": "cohort",+ "type": "string"+ },+ "value": {+ "type": "number"+ }+ },+ "required": ["value"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "anyOf": [+ {+ "enum": ["duration", "active_seconds", "inactive_seconds"],+ "type": "string"+ },+ {+ "type": "string"+ }+ ]+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "recording",+ "default": "recording",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "log_entry",+ "default": "log_entry",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "group_key_names": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "propertyNames": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ]+ },+ "group_type_index": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ]+ },+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "group",+ "default": "group",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "feature",+ "default": "feature",+ "description": "Event property with \"$feature/\" prepended",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "description": "The key should be the flag ID",+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "const": "flag_evaluates_to",+ "default": "flag_evaluates_to",+ "description": "Only flag_evaluates_to operator is allowed for flag dependencies",+ "type": "string"+ },+ "type": {+ "const": "flag",+ "default": "flag",+ "description": "Feature flag dependency",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "string"+ }+ ],+ "description": "The value can be true, false, or a variant name"+ }+ },+ "required": ["key", "value"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "type": {+ "const": "hogql",+ "default": "hogql",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key"],+ "type": "object"+ },+ {+ "properties": {+ "type": {+ "const": "empty",+ "default": "empty",+ "type": "string"+ }+ },+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "data_warehouse",+ "default": "data_warehouse",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "data_warehouse_person_property",+ "default": "data_warehouse_person_property",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "error_tracking_issue",+ "default": "error_tracking_issue",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "enum": ["log", "log_attribute", "log_resource_attribute"],+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator", "type"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "enum": ["span", "span_attribute", "span_resource_attribute"],+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator", "type"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "revenue_analytics",+ "default": "revenue_analytics",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ },+ {+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "operator": {+ "enum": [+ "exact",+ "is_not",+ "icontains",+ "not_icontains",+ "regex",+ "not_regex",+ "gt",+ "gte",+ "lt",+ "lte",+ "is_set",+ "is_not_set",+ "is_date_exact",+ "is_date_before",+ "is_date_after",+ "between",+ "not_between",+ "min",+ "max",+ "in",+ "not_in",+ "is_cleaned_path_exact",+ "flag_evaluates_to",+ "semver_eq",+ "semver_neq",+ "semver_gt",+ "semver_gte",+ "semver_lt",+ "semver_lte",+ "semver_tilde",+ "semver_caret",+ "semver_wildcard",+ "icontains_multi",+ "not_icontains_multi"+ ],+ "type": "string"+ },+ "type": {+ "const": "workflow_variable",+ "default": "workflow_variable",+ "type": "string"+ },+ "value": {+ "anyOf": [+ {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ }+ ]+ },+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": ["key", "operator"],+ "type": "object"+ }+ ]+ },+ "type": "array"+ }+ },+ "required": ["type", "values"],+ "type": "object"+ },+ "id": {+ "type": "string"+ }+ },+ "required": ["id"],+ "type": "object"+}