Routing Rule configuration
A Routing Rule decides which incoming alerts are sent to which Schedule. It references a Schedule, so create the Schedule first.
Fields
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
name | string | Yes | — | Rule name. Cannot be empty. |
schedule_id | number | Yes | — | The target Schedule. Must reference an existing Schedule (greater than 0). |
match_mode | string | Yes | all | all (every condition must match) or any (at least one). An empty value defaults to all. |
priority | number | Yes | 0 | Lower values are evaluated first. Zero is allowed. |
description | string | No | "" | Free-text description. |
conditions | array | No | [] | List of { field, op, value } conditions to match against the alert. |
is_active | boolean | No | true | Whether the rule is active. Can only be set when updating an existing rule, not at creation. |
