Overview

Maintenance windows let you suppress alert notifications during planned work such as deployments, infrastructure upgrades, or scheduled restarts. While a maintenance window is active, alerts continue to evaluate but notifications are silenced, preventing unnecessary pages and reducing alert fatigue. You can create one-time windows for specific events or recurring windows for regular maintenance schedules.

One-time windows

A one-time maintenance window covers a fixed time range defined by a start time and end time. Use these for planned deployments, migrations, or any event with a known schedule. Required fields: Set isRecurring to false (the default) for one-time windows.

Recurring windows

Recurring maintenance windows repeat on a defined schedule. Use these for regular maintenance periods such as weekly patching or nightly batch jobs. Set isRecurring to true and configure the duration and recurrence fields instead of specifying an endTime.

Duration

The duration object defines how long each maintenance window lasts:

Recurrence

The recurrence object controls how often the window repeats: You can limit recurrence using either untilDate or untilOccurrences. If neither is set, the window repeats indefinitely.

Managing maintenance windows

Create a maintenance window

Send a POST request to create a new maintenance window:

List maintenance windows

Retrieve all maintenance windows for an account:

Get maintenance window details

Retrieve a specific maintenance window by ID:

Update a maintenance window

Modify an existing maintenance window:

Delete a maintenance window

Remove a maintenance window permanently:

Enable or disable a maintenance window

To temporarily disable a maintenance window without deleting it, update the enabled field to false. Set it back to true to re-enable.

Examples

One-time deployment window

Suppress notifications during a two-hour deployment window:
This silences all alert notifications from 2:00 AM to 4:00 AM ET on June 15, 2025.

Weekly Sunday maintenance

Create a recurring two-hour maintenance window every Sunday at midnight:
This silences notifications every Sunday from midnight to 2:00 AM ET, repeating indefinitely.