Get the monitoring history for a given monitor aggregated into blocks.
get/api/v1.0/monitors/{monitorId}/history/blocks
Request
Authorization
X-AT
header
apiKey
Path Parameters
monitorIdThe monitor ID to get the history 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
pageThe page number to fetch, defaults to 0.
integer
sortThe sort order, defaults to 'desc'.
string
Response
200Monitor history blocks
404Monitor not found
Shell cURL
shell
Show schema
json