Get the uptime figures for a given monitor. Uptime is only calculated for the default enabled region(s).
get/api/v1.0/monitors/{monitorId}/uptime
Request
Authorization
X-AT
header
apiKey
Path Parameters
monitorIdThe monitor ID to get the uptime for.
integer
REQUIRED
Query Parameters
fromUnix timestamp to start fetching data from. Defaults to 30 days in the past.
integer
toUnix timestamp to stop fetching data on. Defaults to the current timestamp.
integer
consideredDownA comma separated list of monitor states to consider as down.
string
Response
200Monitor uptime retrieved
404Monitor not found
Shell cURL
shell
Show schema
json