Retrieve monitor history
Get monitor history
GET
/v2/monitors/{id}/historyFeatures
Send the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.
Input3
Sent from your browser straight to the API — never to Docsbook, never stored.
(path)
(query) Start time (ISO 8601 format) for filtering alert history.
(query) End time (ISO 8601 format) for filtering alert history.
Output4
Unique identifier of the check that triggered the alert
The name of the alert
Current state of the alert One of:
open, closed.ISO 8601 timestamp when the alert state changed
Responses
200AlertHistory
Example input
curl 'https://api.axiom.co/v2/monitors/{id}/history?startTime=<startTime>&endTime=<endTime>' \
-H 'Authorization: Bearer API_TOKEN'Example output
[
{
"checkId": "chk_abc123",
"name": "High CPU Usage Alert",
"state": "open",
"timestamp": "2024-03-20T15:30:00Z"
}
]