Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referenceLogs, drains and alerts

Resolve an alert

POST
/v1/alerts/{id}/resolve

Close an open alert now; destinations that get resolve notifications are told. The rule's cooldown starts from here.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^alt_[a-z0-9]{8,40}$

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/alerts/string/resolve"
{  "object": "alert",  "id": "string",  "rule_id": "string",  "rule_name": "string",  "metric": "error_rate",  "severity": "info",  "status": "triggered",  "subject": "string",  "title": "string",  "message": "string",  "value": 0,  "threshold": 0,  "count": 0,  "started_at": "2019-08-24T14:15:22Z",  "last_seen_at": "2019-08-24T14:15:22Z",  "acknowledged_at": "2019-08-24T14:15:22Z",  "acknowledged_by": "string",  "resolved_at": "2019-08-24T14:15:22Z",  "resolved_reason": "auto",  "muted": true,  "timeline": [    {      "at": "2019-08-24T14:15:22Z",      "type": "triggered",      "message": "string",      "destination_id": null,      "actor": null    }  ]}