BatchUpdateRules
Updates existing rules or creates rules that do not exist.
Authorizations
Body
Discouraged escape hatch for saving rules whose expression cannot be fully validated
server-side. When true:
- Per-asset expression validation errors (e.g. channel not present on the in-scope asset)
are returned in
validation_resultsfor visibility but do not block the save. - If the rule's UDF/calculated-channel inlining cannot resolve types (typically because
the referenced channels haven't been ingested yet, or there are too many distinct
identifiers for the type-inference budget) the rule is still persisted, but its
is_live_evaluation_enabledis forced tofalse. Live alerts will skip it; report generation and on-demandEvaluateRulescalls still work because they re-resolve types at run time. To bring such a rule back online, fix the underlying problem (ingest the channels, simplify the expression, etc.) and reissue an update withis_live_evaluation_enabled = true.
Marked deprecated = true because new integrations should validate input before
submitting; existing SDK call sites that rely on this flag continue to work.
Response
A successful response.
Rules that have at least one error (rules with multiple failing assets will appear multiple times). Passing
rules are omitted, so this list is often shorter than rules.
Match a result with rule_id, client_key, or rule_name; do
not zip by index. A rule with several failing assets can appear
more than once. Rule-level errors with no per-asset expression
error do not appear.