Schedule, extend, and cancel maintenance windows from the command line. Use these around deploys, migrations, and scheduled provider downtime so on-call doesn’t get paged for known-expected failures. Maintenance windows are an imperative state operation — they intentionally do not appear inDocumentation Index
Fetch the complete documentation index at: https://docs.devhelm.io/llms.txt
Use this file to discover all available pages before exploring further.
devhelm.yml or the Terraform provider. Schedule them from your deploy script, an SDK, or an MCP-enabled agent.
Commands
| Command | Description |
|---|---|
devhelm maintenance-windows list | List maintenance windows (filter by status or monitor) |
devhelm maintenance-windows get <id> | Show a single window |
devhelm maintenance-windows create | Schedule a new window |
devhelm maintenance-windows update <id> | Extend or modify an existing window |
devhelm maintenance-windows delete <id> | Cancel a window (alerts resume immediately) |
maintenance-windows list
| Flag | Type | Description |
|---|---|---|
--filter | string | active (currently open) or upcoming (scheduled). Omit for both. |
--monitor | UUID | Only windows attached to this monitor (org-wide windows excluded). |
maintenance-windows get
maintenance-windows create
Schedule a new window. Both--start and --end are required.
| Flag | Type | Required | Description |
|---|---|---|---|
--start | datetime | Yes | When the window opens. ISO 8601 with explicit timezone (UTC preferred). |
--end | datetime | Yes | When the window closes. Must be strictly after --start. |
--monitor | UUID list | — | Comma-separated monitor IDs. Omit for an org-wide window. Multiple IDs schedule one window per monitor (the API stores one monitor per window). |
--reason | string | — | Human-readable description. Surfaces in the dashboard and audit log. |
--repeat-rule | string | — | iCal RRULE for recurring windows (max 100 chars). Omit for one-time. |
--no-suppress-alerts | boolean | — | Record the window for audit without silencing notifications. Default behaviour is to suppress. |
Examples
maintenance-windows update
Extend or modify an existing window. The update is a full replacement — pass--start and --end even if you only want to change one of them.
--end to keep alerts suppressed past the original deadline. Letting the window lapse and then opening a fresh one creates a notification gap.
maintenance-windows delete
Cancel a window. Alerting resumes on the next failed check — there is no “uncancel.”Deploy-script pattern
The full create-deploy-cancel cycle, suitable for a deploy script:--end budget) so it can’t accidentally suppress the next real outage.
Next steps
Maintenance windows reference
Concepts, fields, and full surface support matrix.
Maintenance windows guide
Walkthrough for deploy-time and recurring windows.
MCP server tools
Let an AI agent schedule the window before running a deploy.