Skip to content

Maintenance window reference

The full request schemas live in the auto-generated API Reference. This page is the human-readable cheat sheet for /maintenance_windows.

FieldTypeDefaultDescription
namestringrequiredWindow label.
tagsstring[]requiredMust be non-empty. A monitor is covered when its tags overlap this list.
schedule_typeenumrequiredone_time or recurring.
timezonestringUTCIANA timezone name. Recurrence times are interpreted in this timezone.
starts_atrfc3339required for one_timeWindow start. Must be before ends_at.
ends_atrfc3339required for one_timeWindow end.
recurrenceobjectrequired for recurringRecurrence rule (below).
{ "type": "daily", "start_time": "02:00", "end_time": "03:00" }
{ "type": "weekly", "days": ["sun"], "start_time": "02:00", "end_time": "04:00" }
KeyTypeDescription
typeenumdaily or weekly.
start_time / end_timestring24-hour HH:MM in the window’s timezone. An end_time earlier than start_time wraps past midnight (e.g. 23:00 to 01:00).
daysstring[]Weekly only; must be non-empty. Day names, case-insensitive: full English names (monday .. sunday) or three-letter abbreviations (mon .. sun). Anything else is rejected with a 400.
FieldTypeDescription
iduuidWindow ID.
account_iduuidOwning account.
is_currently_activeboolWhether the window is in effect right now, computed server-side.
created_at / updated_atrfc3339Timestamps.

The check applies to notifications that carry monitor context (HTTP and cron monitors). While a matching window is active:

  • Failure notifications are held, not dropped: they are stored and re-evaluated when the window’s current occurrence ends, so a monitor still down after the window pages then.
  • Recovery notifications are suppressed and clear the held failure for that monitor, so a blip fully inside the window pages no one.
  • Checks keep running and results keep being recorded throughout.
MethodPathPurpose
GET/maintenance_windowsList.
POST/maintenance_windowsCreate.
PUT/maintenance_windows/{window_id}Update (partial; omitted fields keep their value).
DELETE/maintenance_windows/{window_id}Delete.