Alerting & Response/Alert Rules
POSTAlertingSince 1.0SynchronousAuth Required
CreateAlertSilenceRule
Create a silence rule to suppress alert notifications during a time window
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name for the silence rule
Example: Maintenance Window
descriptionStringRequiredDescription of why alerts are being silenced
Example: Suppress alerts during scheduled maintenance
matcherTypeStringRequiredType of label matcher (exact, regex, etc.)
Example: value
matcherKeyStringRequiredLabel key to match against
Example: value
matcherValueStringRequiredLabel value pattern to match
Example: value
Responses
Endpoint
POST/api/v1/alerting/silence-rules
/api/v1/alerting/silence-rules
Request Example
curl -X POST '{host}/api/v1/alerting/silence-rules' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"Maintenance Window","description":"Suppress alerts during scheduled maintenance","matcherType":"value","matcherKey":"value","matcherValue":"value","startsAt":"2026-01-15T08:00:00Z","endsAt":"2026-01-15T08:00:00Z","createdBy":"admin","matchers":"(nested array)"}'
Response Example
200{
"uuid": "silence-001",
"name": "Maintenance Window Q1",
"description": "Suppress alerts during scheduled maintenance",
"matcherType": "example",
"matcherKey": "example",
"matcherValue": "example",
"startsAt": "example",
"endsAt": "example"
}Change History
This API has no change history records yet.
