Get active downtimes for a monitor

GET {{baseUrl}}/api/v2/monitor/:monitor_id/downtime_matches

Get all active downtimes for the specified monitor.

Request Params

KeyDatatypeRequiredDescription
page[offset]numberSpecific offset to use as the beginning of the returned page.
page[limit]numberMaximum number of downtimes in the response.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"attributes":{"end":"2020-01-02T03:04:00.000Z","groups":["service:postgres","team:frontend"],"scope":"env:(staging OR prod) AND datacenter:us-east-1","start":"2020-01-02T03:04:00.000Z"},"id":"00000000-0000-1234-0000-000000000000","type":"downtime_match"},{"attributes":{"end":"2020-01-02T03:04:00.000Z","groups":["service:postgres","team:frontend"],"scope":"env:(staging OR prod) AND datacenter:us-east-1","start":"2020-01-02T03:04:00.000Z"},"id":"00000000-0000-1234-0000-000000000000","type":"downtime_match"}],"meta":{"page":{"total_filtered_count":27755850}}}