provider Status Pages GET /api/v2/statuspages/maintenances
@utdk/datadog /api/v2/statuspages/maintenances
List maintenances
Lists all maintenances for the organization. Optionally filter by status and page.
filter[page_id] query
Optional page id filter.
string
page[offset] query
Offset to use as the start of the page.
integer
page[limit] query
The number of maintenances to return per page.
integer
include query
Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.
string
filter[status] query
Optional maintenance status filter. Supported values: scheduled, in_progress, completed.
string
sort query
Sort order. Prefix with '-' for descending. Supported values: created_at, -created_at, start_date, -start_date.
string

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.

listmaintenances
GET/api/v2/statuspages/maintenances
Lists all maintenances for the organization. Optionally filter by status and page.

Optional page id filter.

Offset to use as the start of the page.

The number of maintenances to return per page.

Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.

Optional maintenance status filter. Supported values: scheduled, in_progress, completed.

Sort order. Prefix with '-' for descending. Supported values: created_at, -created_at, start_date, -start_date.

Enter a gateway URL above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

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