Overview
Maintenance windows allow you to suppress alerts during planned maintenance periods. This endpoint returns all maintenance windows configured in your account, including their schedules and affected resources.During maintenance windows, checks continue to run but alerts are suppressed. This prevents unnecessary notifications during planned downtime.
Response Example
Maintenance Window Types
One-time Maintenance
One-time Maintenance
Single maintenance window for specific events:
- Use Cases: Software deployments, database migrations, hardware upgrades
- Repeat Interval: NONE
- Duration: Specific start and end times
Recurring Maintenance
Recurring Maintenance
Regular maintenance windows that repeat:
- Daily: Every day at the same time
- Weekly: Same day and time each week
- Monthly: Same date each month
Resource Targeting
Resource Targeting
Control which resources are affected:
- Specific Checks: Target individual checks by ID
- Check Groups: Target all checks in specific groups
- Combined: Mix of individual checks and groups
- Granular control over alert suppression
- Maintain monitoring for unaffected services
- Easy management of related resources
Code Examples
Use Cases
Scheduled Deployments
Suppress alerts during planned software deployments and updates
Infrastructure Maintenance
Silence monitoring during server maintenance and hardware upgrades
Backup Windows
Avoid alerts during nightly backups and database maintenance
Third-party Maintenance
Handle known downtime from external service providers
Filtering Options
Query Parameters
Query Parameters
Filter maintenance windows by various criteria:
limit(integer): Number of results per page (max 100)page(integer): Page number (1-based)active(boolean): Show only currently active windowsupcoming(boolean): Show only future windowstag(string): Filter by tag
Example Requests
Example Requests
Status Indicators
Active Status
Active Status
Determine if a maintenance window is currently active:
Upcoming Status
Upcoming Status
Check if a maintenance window is scheduled in the future:
Maintenance windows are essential for managing alert fatigue during planned maintenance. They ensure your team only receives notifications for unexpected issues, not planned downtime.