Update Escalation Rule
update_escalation_ruleUpdate an escalation rule. Pass only the fields to change; omitted fields keep their values. Confirm with the user first. Each condition is an object: {condition, category, threshold, badge, seconds}. condition is one of SCORE_LT, SCORE_LTE, SCORE_GT, SCORE_GTE (with category HUMANITY, AUTHENTICITY, UNIQUENESS, BEHAVIOR, or ANY to match any category, and threshold 0-100), BADGE_EXISTS or BADGE_NOT_EXISTS (with badge = a badge slug), IDENTITY_AGE_LT or IDENTITY_AGE_GT (with seconds since the identity was first seen). All conditions must hold for the rule to match. Returns the updated rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Escalation rule id. | |
| name | No | New name, up to 100 characters. | |
| enabled | No | Enable or disable the rule. | |
| channels | No | New channel slugs, replacing the current set. | |
| severity | No | New severity. | |
| conditions | No | New conditions, replacing the current set. | |
| effectiveAt | No | New effective-from instant. | |
| openAfterSeconds | No | New open delay in seconds. | |
| closeAfterSeconds | No | New auto-close delay in seconds. |