provider Downtimes GET /api/v2/downtime
@utdk/datadog /api/v2/downtime
Get all downtimes
Get all scheduled downtimes.
current_only query
Only return downtimes that are active when the request is made.
boolean
include query
Comma-separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `monitor`.
string
page[offset] query
Specific offset to use as the beginning of the returned page.
integer
page[limit] query
Maximum number of downtimes in the response.
integer

Try it

Authentication
Configure credentials for Datadog API V2 Collection
listdowntimes
GET/api/v2/downtime
Get all scheduled downtimes.

Only return downtimes that are active when the request is made.

Comma-separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `monitor`.

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

Maximum number of downtimes in the response.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.listdowntimes({
  "page[offset]": 0,
  "page[limit]": 30
})