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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
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
})