Returns active alerts
GET {{baseUrl}}/alerts
The /alerts endpoint returns a list of all active alerts.
As the /alerts endpoint is fairly new, it does not have the same stability guarantees as the overarching API v1.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"alerts":[{"activeAt":"2018-07-04T18:27:12.606Z","annotations":{},"labels":{"alertname":"my-alert"},"state":"firing","value":1}]},"status":"success"}