Uptime API › Checks and uptime
List a monitor's outages
Every outage the monitor has had, newest first. An outage opens when
the monitor goes down and is resolved when it comes back up; one
that is still open has no resolved_at. Outages are recorded by
Uptime and cannot be created or changed through the API.
data is [] when the monitor has never been down.
Requires the uptime:incident:read scope.
Authorization
Parameters
Path parameters
idstring requiredThe monitor's ID.
Responses
200
The outages.
dataarray of IncidentShow Incident properties
idstringmonitor_idstringorg_idstringstarted_atstring (date-time)resolved_atstring (date-time)Absent while the outage is open.duration_secondsintegerPresent once resolved.causestringlast_alerted_atstring (date-time)
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
The monitor does not exist, or belongs to a team the caller cannot see (MONITOR_NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/monitors/mon_8c1d0b52-6f3e-4a7d-9b21-0e5c4f7a3d19/incidents' \
-H 'Authorization: Bearer <TOKEN>'