API referenceLogs, drains and alerts
Delete an alert rule
Delete the rule and resolve its open alerts.
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 DELETE "https://example.com/v1/alerts/rules/string"{ "ok": true}Create an alert rule POST
Alert when a metric crosses a threshold over a window: error_rate, p95_latency, spend, budget_used, vendor_failure_spike, vendor_key_failing, billing_mismatch, cache_hit_rate, delivery_backlog, security_event or new_ip. Scope it to the workspace, a key, a vendor or a capability; route it to every destination or to chosen ones.
Get an alert rule GET
One alert rule with its state.