Uptime API › Checks and uptime
Get a monitor's uptime per day
GET/api/v1/monitors/{id}/uptime/daily
One entry per UTC calendar day for the last days days, today
included, oldest first — the data behind an uptime calendar. A day
with no checks is no_data, never counted as up.
Requires the uptime:monitor:read scope.
Authorization
Parameters
Path parameters
idstring requiredThe monitor's ID.
Query parameters
daysintegerHow many days to return. Values are clamped to 1–90; a value that is not a number is read as 90.
Responses
200
The days.
dataobjectmonitor_idstring requireddaysarray of DailyUptime requiredShow DailyUptime properties
datestring (date) requiredThe UTC calendar day.up_rationumber | null requiredShare of up checks, 0–1;nullwith no checks.statusstring requiredoperationalwhen every check was up,downwhen none was,degradedin between,no_datawithout checks.checksinteger required
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/uptime/daily' \
-H 'Authorization: Bearer <TOKEN>'