API referenceLogs, drains and alerts
Send a test alert for a rule
Send a test alert to every destination the rule notifies, now, and report each result. Nothing is recorded as a real alert.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Match
^alr_[a-z0-9]{8,32}$Response Body
application/json
application/json
curl -X POST "https://example.com/v1/alerts/rules/string/test"{ "items": [ { "object": "delivery_test", "ok": true, "status": 0, "latency_ms": 0, "error": "string", "queued": true, "destination_id": "string" } ]}Mute or unmute an alert rule POST
Snooze a rule for `minutes` (or until `until`); it keeps evaluating and recording alerts but sends nothing. `minutes: 0` unmutes.
Update an alert rule PUT
Change any field; fields you leave out keep their value. Changing what the rule measures resolves its open alerts.