Overview
Create a maintenance window to suppress alerts during planned maintenance periods. Maintenance windows can be one-time events or recurring schedules, and can target specific checks or entire check groups.Request Examples
Response Example
Configuration Options
Basic Settings
Basic Settings
Required Fields:
name(string): Descriptive name for the maintenance windowstartsAt(string): ISO 8601 timestamp when maintenance beginsendsAt(string): ISO 8601 timestamp when maintenance endsrepeatInterval(string): NONE, DAILY, WEEKLY, or MONTHLY
repeatEndsAt(string): When recurring maintenance should stop (required for recurring windows)tags(array): Tags for organization and filtering
Repeat Intervals
Repeat Intervals
NONE (One-time):
- Single maintenance window
- No repeat configuration needed
- Repeats every day at the same time
- Requires
repeatEndsAtto define when to stop
- Repeats on the same day of the week
- Based on the day of
startsAt - Requires
repeatEndsAt
- Repeats on the same date each month
- Based on the date of
startsAt - Requires
repeatEndsAt
startsAt and endsAt, then applied to each recurrence.Resource Targeting
Resource Targeting
Individual Checks:Check Groups:Combined Targeting:Note: You can target specific checks, entire check groups, or both in the same maintenance window.
Timezone Considerations
Timezone Considerations
All timestamps should be in UTC (ISO 8601 format with Z suffix). Consider these factors:
- Server Timezones: Convert local maintenance times to UTC
- Daylight Saving: UTC avoids DST complications
- Global Teams: UTC provides consistent scheduling across regions
Code Examples
Validation Rules
Time Validation
Time Validation
endsAtmust be afterstartsAtrepeatEndsAtmust be afterstartsAt(for recurring windows)- Minimum duration: 1 minute
- Maximum duration: 7 days per window
- Cannot create windows that started in the past
Resource Validation
Resource Validation
- At least one
checkIdorcheckGroupIdmust be specified - Check IDs must exist and belong to your account
- Check Group IDs must exist and belong to your account
- Cannot exceed 100 checks per maintenance window
Repeat Validation
Repeat Validation
repeatEndsAtis required for DAILY, WEEKLY, and MONTHLY intervalsrepeatEndsAtis ignored for NONE interval- Maximum repeat duration: 1 year
- Recurring windows cannot exceed 1000 occurrences
Best Practices
Naming Conventions
Naming Conventions
Use descriptive names that include:
- Purpose: What maintenance is being performed
- Frequency: One-time, weekly, monthly, etc.
- Scope: Which systems are affected
- “Monthly Security Patch Tuesday”
- “Weekly Database Backup Window”
- “Q1 Infrastructure Upgrade”
- “Emergency API Hotfix Deployment”
Scheduling Strategy
Scheduling Strategy
- Buffer Time: Add 15-30 minutes buffer before and after expected maintenance
- Timezone Awareness: Use UTC to avoid DST issues
- Overlap Prevention: Avoid overlapping maintenance windows
- Communication: Coordinate with team schedules and business hours
Resource Targeting
Resource Targeting
- Group-Based: Use check groups for easier management
- Granular Control: Target specific checks only when necessary
- Impact Assessment: Consider downstream dependencies
- Testing: Test maintenance windows in non-production first
Recurring Maintenance
Recurring Maintenance
- End Dates: Always set appropriate
repeatEndsAtdates - Review Schedule: Regularly review and update recurring windows
- Seasonal Adjustments: Account for holidays and business cycles
- Cleanup: Remove expired recurring maintenance windows
Maintenance windows are crucial for preventing alert fatigue during planned downtime. They ensure your team focuses on real issues rather than expected maintenance notifications.