Mute or unmute an alert rule
Snooze a rule for minutes (or until until); it keeps evaluating and recording alerts but sends nothing. minutes: 0 unmutes.
Authorization
bearer In: header
Path Parameters
^alr_[a-z0-9]{8,32}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/alerts/rules/string/mute" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "alert_rule", "id": "string", "name": "string", "description": "", "enabled": true, "metric": "error_rate", "threshold": 0, "window_s": 60, "min_events": 1, "severity": "info", "scope": {}, "kinds": [], "cooldown_s": 900, "destination_ids": [], "all_destinations": true, "toast": true, "muted_until": null, "is_default": true, "evaluator": "live", "state": { "status": "ok", "last_evaluated_at": "2019-08-24T14:15:22Z", "last_value": 0, "open_alert_id": "string", "note": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}List alert rules GET
Every alert rule with its metric, threshold, window, scope, severity, destinations, mute and live state (ok, firing, muted, no_data). New workspaces start with defaults (a vendor key failing, budgets at 80% and 100%, billing mismatches, error-rate and spend spikes, a key on a new IP, failing deliveries, security events).
Send a test alert for a rule POST
Send a test alert to every destination the rule notifies, now, and report each result. Nothing is recorded as a real alert.