Maintenance Windows
Schedule and manage maintenance windows. Suppress alerts during planned downtime.
Maintenance windows allow you to schedule planned downtime for your monitors. During a maintenance window, alerts can be suppressed and the status page can display a maintenance notice.
Scope
monitorType and monitorId are the window's scope, and together they mean one of three things:
Neither — every monitor the team has, of every kind.
monitorTypealone — every monitor of that kind, including ones created later.monitorTypeandmonitorId— that one monitor, looked up in that kind's monitors.
A monitorId sent on its own is read as an HTTP monitor, which is what it has always meant, so clients written before the other monitor kinds arrived keep working untouched.
A monitorId that does not belong to the team, or that belongs to a different kind of monitor than monitorType names, answers a 404 not-found problem with "Monitor not found" — the window is never quietly widened to the whole team instead.
GET /api/v1/maintenance
Returns the maintenance windows for your team. This endpoint is paginated; see Pagination for how to page through the full list.
Required scope: maintenance:read
Query Parameters
perPageintegerResults per page, 1-200 (default: 50)
cursorstringPage to fetch, taken from a
Linkheader
The cursors for this page arrive in meta.pagination:
meta.pagination.nextstring | nullCursor for the following page,
nullon the lastmeta.pagination.prevstring | nullCursor for the preceding page,
nullon the firstmeta.pagination.perPageintegerResults this page was built with
meta.pagination.totalintegerMaintenance windows matching, across every page
Errors (3)
| Status | Type | Meaning |
|---|---|---|
| 400 | bad-request | The request is malformed |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
Response fields (200)
dataobjectRequiredShow nested fields
maintenanceWindowsMaintenanceWindow[]RequiredShow nested fields
idstringRequiredteamIdstringRequiredmonitorTypestring | nullRequiredMonitor type the window covers; null covers every type One of
http,dns,tcp,cron,flow.monitorIdstring | nullRequiredThe one monitor the window covers; null covers the whole type
namestringRequiredstartsAtintegerRequiredEpoch milliseconds
endsAtintegerRequiredEpoch milliseconds
endedEarlyAtinteger | nullRequiredWhen the window was ended early; null while it runs its course
suppressAlertsbooleanRequiredshowOnStatusPagebooleanRequiredcreatedAtintegerRequiredEpoch milliseconds
updatedAtintegerRequiredEpoch milliseconds
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
paginationobjectRequiredShow nested fields
nextstring | nullRequiredCursor of the following page
prevstring | nullRequiredCursor of the preceding page
perPageintegerRequiredtotalinteger
cURL
Response
{
"data": {
"maintenanceWindows": [
{
"id": "mnt_abc123",
"teamId": "team_xyz789",
"monitorType": "http",
"monitorId": "mon_def456",
"name": "Database Migration",
"startsAt": 1771120800000,
"endsAt": 1771128000000,
"endedEarlyAt": null,
"suppressAlerts": true,
"showOnStatusPage": true,
"createdAt": 1771070400000,
"updatedAt": 1771070400000
}
]
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z",
"pagination": {
"next": "eyJkIjoiYWZ0ZXIi",
"prev": null,
"perPage": 25,
"total": 31
}
}
}POST /api/v1/maintenance
Creates a new maintenance window and answers 201 Created.
Required scope: maintenance:write
Request Body
namestringRequiredName of the maintenance window (at least 1 character)
startsAtstringRequiredStart time in ISO 8601 format
endsAtstringRequiredEnd time in ISO 8601 format (must be after
startsAt)monitorTypestringLimit the window to one kind of monitor:
http,dns,tcp,cronorflow. Sent on its own, the window covers every monitor of that kind, including ones created later.monitorIdstring | nullLimit the window to a single monitor, or
nullfor all monitors. Sent together withmonitorType, the id is looked up in that kind's monitors; sent on its own it is read as an HTTP monitor, which is what it has always meant.suppressAlertsbooleanWhether to suppress alerts during maintenance (default:
true)showOnStatusPagebooleanWhether to show maintenance on status page (default:
true)
Errors (7)
| Status | Type | Meaning |
|---|---|---|
| 400 | validation-error | The request failed validation |
| 400 | idempotency-key-invalid | The Idempotency-Key header is not valid |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
| 404 | not-found | The resource does not exist |
| 409 | idempotency-key-in-use | A request with this idempotency key is still being processed |
| 422 | idempotency-key-reused | This idempotency key was already used for a different request |
Response fields (201)
dataobjectRequiredShow nested fields
maintenanceWindowobjectRequiredShow nested fields
idstringRequiredteamIdstringRequiredmonitorTypestring | nullRequiredMonitor type the window covers; null covers every type One of
http,dns,tcp,cron,flow.monitorIdstring | nullRequiredThe one monitor the window covers; null covers the whole type
namestringRequiredstartsAtintegerRequiredEpoch milliseconds
endsAtintegerRequiredEpoch milliseconds
endedEarlyAtinteger | nullRequiredWhen the window was ended early; null while it runs its course
suppressAlertsbooleanRequiredshowOnStatusPagebooleanRequiredcreatedAtintegerRequiredEpoch milliseconds
updatedAtintegerRequiredEpoch milliseconds
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
cURL
Response
{
"data": {
"maintenanceWindow": {
"id": "mnt_abc123",
"teamId": "team_xyz789",
"monitorType": "http",
"monitorId": "mon_def456",
"name": "Database Migration",
"startsAt": 1771120800000,
"endsAt": 1771128000000,
"endedEarlyAt": null,
"suppressAlerts": true,
"showOnStatusPage": true,
"createdAt": 1771063200000,
"updatedAt": 1771063200000
}
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z"
}
}GET /api/v1/maintenance/:id
Returns a single maintenance window by ID.
Required scope: maintenance:read
Errors (4)
| Status | Type | Meaning |
|---|---|---|
| 400 | validation-error | The request failed validation |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
| 404 | not-found | The resource does not exist |
Response fields (200)
dataobjectRequiredShow nested fields
maintenanceWindowobjectRequiredShow nested fields
idstringRequiredteamIdstringRequiredmonitorTypestring | nullRequiredMonitor type the window covers; null covers every type One of
http,dns,tcp,cron,flow.monitorIdstring | nullRequiredThe one monitor the window covers; null covers the whole type
namestringRequiredstartsAtintegerRequiredEpoch milliseconds
endsAtintegerRequiredEpoch milliseconds
endedEarlyAtinteger | nullRequiredWhen the window was ended early; null while it runs its course
suppressAlertsbooleanRequiredshowOnStatusPagebooleanRequiredcreatedAtintegerRequiredEpoch milliseconds
updatedAtintegerRequiredEpoch milliseconds
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
cURL
Response
{
"data": {
"maintenanceWindow": {
"id": "mnt_abc123",
"teamId": "team_xyz789",
"monitorType": "http",
"monitorId": "mon_def456",
"name": "Database Migration",
"startsAt": 1771120800000,
"endsAt": 1771128000000,
"endedEarlyAt": null,
"suppressAlerts": true,
"showOnStatusPage": true,
"createdAt": 1771063200000,
"updatedAt": 1771063200000
}
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z"
}
}PATCH /api/v1/maintenance/:id
Updates an existing maintenance window with a JSON merge patch.
Required scope: maintenance:write
Request Body
Include only the fields you want to change. null clears the scope and resets suppressAlerts and showOnStatusPage to true; name, startsAt and endsAt cannot be removed.
namestringName of the maintenance window (at least 1 character)
startsAtstringStart time in ISO 8601 format
endsAtstringEnd time in ISO 8601 format (must be after the window's start, sent or stored)
monitorTypestring | nullThe kind of monitor the window is limited to:
http,dns,tcp,cronorflowmonitorIdstring | nullThe single monitor the window is limited to, or
nullfor all monitorssuppressAlertsboolean | nullWhether to suppress alerts during maintenance;
nullresets it totrueshowOnStatusPageboolean | nullWhether to show maintenance on status page;
nullresets it totrue
monitorType and monitorId are the window's scope, and they move as a pair: change either one and both are rewritten, so narrowing a window to a whole kind of monitor cannot leave the previous monitor's id behind it. Mention neither and the scope is left exactly as it is.
{"monitorType": "dns"}— every DNS monitor{"monitorType": "dns", "monitorId": "..."}— that one DNS monitor{"monitorId": null}or{"monitorType": null}— back to team-wide{"monitorId": "..."}— that one HTTP monitor
A monitorId that does not belong to the team, or that belongs to a different kind of monitor than monitorType names, answers a 404 not-found problem.
Update With PUT
PUT /api/v1/maintenance/:id takes the same fields, for integrations written before PATCH existed. A field you leave out keeps its value, and null is refused everywhere except monitorId, where it widens the window back to team-wide. Sending either scope field rewrites both, and the window's endsAt must still follow its startsAt.
Required scope: maintenance:write
Errors (4)
| Status | Type | Meaning |
|---|---|---|
| 400 | validation-error | The request failed validation |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
| 404 | not-found | The resource does not exist |
Response fields (200)
dataobjectRequiredShow nested fields
maintenanceWindowobjectRequiredShow nested fields
idstringRequiredteamIdstringRequiredmonitorTypestring | nullRequiredMonitor type the window covers; null covers every type One of
http,dns,tcp,cron,flow.monitorIdstring | nullRequiredThe one monitor the window covers; null covers the whole type
namestringRequiredstartsAtintegerRequiredEpoch milliseconds
endsAtintegerRequiredEpoch milliseconds
endedEarlyAtinteger | nullRequiredWhen the window was ended early; null while it runs its course
suppressAlertsbooleanRequiredshowOnStatusPagebooleanRequiredcreatedAtintegerRequiredEpoch milliseconds
updatedAtintegerRequiredEpoch milliseconds
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
cURL
Response
{
"data": {
"maintenanceWindow": {
"id": "mnt_abc123",
"teamId": "team_xyz789",
"monitorType": "http",
"monitorId": "mon_def456",
"name": "Extended Database Migration",
"startsAt": 1771120800000,
"endsAt": 1771135200000,
"endedEarlyAt": null,
"suppressAlerts": true,
"showOnStatusPage": true,
"createdAt": 1771063200000,
"updatedAt": 1771068600000
}
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z"
}
}DELETE /api/v1/maintenance/:id
Deletes a maintenance window.
Required scope: maintenance:write
Errors (4)
| Status | Type | Meaning |
|---|---|---|
| 400 | validation-error | The request failed validation |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
| 404 | not-found | The resource does not exist |
Response fields (200)
dataobjectRequiredShow nested fields
deletedtrueRequired
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
cURL
Response
{
"data": {
"deleted": true
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z"
}
}POST /api/v1/maintenance/:id/end
Ends a maintenance window early. Sets the endedEarlyAt timestamp to the current time.
Required scope: maintenance:write
Errors (4)
| Status | Type | Meaning |
|---|---|---|
| 400 | validation-error | The request failed validation |
| 401 | unauthorized | The API key is missing or invalid |
| 403 | forbidden | The API key lacks the required scope |
| 404 | not-found | The resource does not exist |
Response fields (200)
dataobjectRequiredShow nested fields
maintenanceWindowobjectRequiredShow nested fields
idstringRequiredteamIdstringRequiredmonitorTypestring | nullRequiredMonitor type the window covers; null covers every type One of
http,dns,tcp,cron,flow.monitorIdstring | nullRequiredThe one monitor the window covers; null covers the whole type
namestringRequiredstartsAtintegerRequiredEpoch milliseconds
endsAtintegerRequiredEpoch milliseconds
endedEarlyAtinteger | nullRequiredWhen the window was ended early; null while it runs its course
suppressAlertsbooleanRequiredshowOnStatusPagebooleanRequiredcreatedAtintegerRequiredEpoch milliseconds
updatedAtintegerRequiredEpoch milliseconds
metaobjectRequiredShow nested fields
requestIdstringRequiredFormat: uuid.
timestampstringRequiredFormat: date-time.
cURL
Response
{
"data": {
"maintenanceWindow": {
"id": "mnt_abc123",
"teamId": "team_xyz789",
"monitorType": "http",
"monitorId": "mon_def456",
"name": "Database Migration",
"startsAt": 1771120800000,
"endsAt": 1771128000000,
"endedEarlyAt": 1771125300000,
"suppressAlerts": true,
"showOnStatusPage": true,
"createdAt": 1771063200000,
"updatedAt": 1771125300000
}
},
"meta": {
"requestId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"timestamp": "2026-02-14T12:00:00.000Z"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique maintenance window identifier |
teamId | string | Team that owns this maintenance window |
monitorType | string | null | Kind of monitor the window is limited to, or null if it applies to every kind |
monitorId | string | null | Associated monitor ID, or null if applies to all monitors |
name | string | Display name of the maintenance window |
startsAt | integer | Scheduled start time as a Unix timestamp in milliseconds |
endsAt | integer | Scheduled end time as a Unix timestamp in milliseconds |
endedEarlyAt | integer | null | When maintenance was ended early, in milliseconds, or null |
suppressAlerts | boolean | Whether alerts are suppressed during maintenance |
showOnStatusPage | boolean | Whether maintenance is displayed on the status page |
createdAt | integer | Creation time as a Unix timestamp in milliseconds |
updatedAt | integer | Last update time as a Unix timestamp in milliseconds |