Lists all alerts that have been sent for your account.
Use the to and from parameters to specify a date range (UNIX timestamp in seconds). This endpoint will return data within a 6-hour timeframe. If the from and to params are set, they must be at most 6 hours apart. If none are set, we will consider the to param to be now and the from param to be 6 hours earlier. If only the to param is set we will set from to be 6 hours earlier. If only the from param is set we will consider the to param to be 6 hours later.
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Limit the number of results
1 <= x <= 100Page number
Select records up from this UNIX timestamp (>= date). Defaults to now - 6 hours.
Optional. Select records up to this UNIX timestamp (< date). Defaults to 6 hours after "from".
Successful
The name of the check.
"API Check"
The unique ID of this alert.
"1"
The ID of check this alert belongs to.
"db147a95-6ed6-44c9-a584-c5dca2db3aaa"
The type of alert.
NO_ALERT, ALERT_FAILURE, ALERT_FAILURE_REMAIN, ALERT_FAILURE_DEGRADED, ALERT_RECOVERY, ALERT_DEGRADED, ALERT_DEGRADED_REMAIN, ALERT_DEGRADED_FAILURE, ALERT_DEGRADED_RECOVERY, ALERT_SSL "ALERT_FAILURE"
The type of the check.
API, BROWSER, HEARTBEAT, MULTI_STEP, TCP, PLAYWRIGHT, URL, DNS "API"
What data center location this check alert was triggered from.
"us-east-1"
Describes the time it took to execute relevant parts of this check. Any setup timeor system time needed to start executing this check in the Checkly backend is not part of this.
10
Any specific error messages that were part of the failing check triggering the alert.
"OK"
The status code of the response. Only applies to API checks.
"200"
The date and time this check alert was created.
The date and time this check alert was started.