API referenceAlerts

GET /v2/alerts/{alertRuleId}/occurrences

GET
/v2/alerts/{alertRuleId}/occurrences

Path Parameters

alertRuleId*string

Query Parameters

limit?integer

Max occurrences to return, most recent first

Formatint32
Range1 <= value <= 200
Default50

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v2/alerts/string/occurrences"
{  "$schema": "https://example.com/schemas/OccurrencesOutputBody.json",  "data": [    {      "firedAt": "string",      "message": "string",      "metric": "string",      "occurrenceId": "string",      "state": "string",      "threshold": 0.1,      "value": 0.1    }  ]}