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
Key | Datatype | Required | Description |
---|---|---|---|
page[offset] | number | Specific offset to use as the beginning of the returned page. | |
page[limit] | number | Maximum number of downtimes in the response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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}}}