v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Downtimes

Get active downtimes for a monitor

Get all active downtimes for the specified monitor.

get/api/v2/monitor/{monitor_id}/downtime_matches

Path parameters

monitor_idinteger required

The id of the monitor.

Query parameters

page[offset]integer

Specific offset to use as the beginning of the returned page.

page[limit]integer

Maximum number of downtimes in the response.

Response

OK

Example response

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