Alerting & Response/Alert Routing & Policies
POSTAlertingSince 1.0SynchronousAuth Required
CreateAlertNotificationPolicy
Create a new notification routing policy
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable policy name
Example: Critical Alert Routing
descriptionStringRequiredDescription of the policy routing logic
Example: Route critical alerts to ops channels
priorityIntegerRequiredPriority order for policy evaluation
Example: 1
isDefaultBooleanRequiredWhether this is the default catch-all policy
Example: false
matchersListRequiredLabel matchers for routing decisions
Example: (nested array)
keyStringLabel key to match against
Example: severity
operatorStringMatch operator: eq, neq, regex, etc.
Example: eq
valueStringValue to match against
Example: critical
Responses
Endpoint
POST/api/v1/alerting/notification-policies
/api/v1/alerting/notification-policies
Request Example
curl -X POST '{host}/api/v1/alerting/notification-policies' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"Critical Alert Routing","description":"Route critical alerts to ops channels","priority":1,"isDefault":false,"matchers":"(nested array)","channelIds":"item1,item2","groupBy":"item1,item2","groupWait":30,"groupInterval":300,"repeatInterval":3600}'
Response Example
200{
"uuid": "policy-001",
"name": "Critical Alert Routing",
"description": "Route critical alerts to ops channels",
"priority": 1,
"isDefault": false,
"matchers": [
{}
],
"channelIds": [],
"groupBy": []
}Change History
This API has no change history records yet.
