Get Check Report Status
Get a list of status changes for a specified check and time period. If order is speficied to descending, the list is ordered by newest first. (The default is ordered by oldest first.) It can be used to display a detailed view of a check.
Parameters
Parameter | Description |
---|---|
Check ID | Specifies the id of the check for which the status change report will be fetched. |
From | Start time of period. The format is RFC 3339 (properly URL-encoded!). The default value is one week earlier than to . |
Order | Sorting order of outages. Ascending or descending. |
To | End time of period. The format is RFC 3339 (properly URL-encoded!). The default value is the current time. |
Example Output
{
"report": {
"check_id": 123,
"name": "My awesome check",
"states": [
{
"error_in_step": 2,
"from": "2020-07-10T10:51:55.000Z",
"message": "URL should be 'http://www.example12345.com/' but is 'http://www.example.com/'.",
"status": "down",
"to": "2020-07-14T07:25:15.000Z"
}
]
}
}
Workflow Library Example
Get Check Report Status with Pingdom and Send Results Via Email