List maintenance
/workspaces/{workspace}/status/maintenanceReturns up to 100 maintenance windows: upcoming ones soonest first, or past ones newest first.
Authentication
Send an API token as a bearer token. This endpoint needs a read token, made by any member of the workspace. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
Query parameters
filterenumdefault upcomingupcoming: scheduled or in progress. past: completed or cancelled. One of
upcoming,past,all.
Response
200 OKWindows plus meta {counts {upcoming, past}, subscribers, timezone}.
idintegerWindow id.titlestringTitle.bodystring|nullDetails.starts_atstringUTC, ISO 8601.ends_atstringUTC, ISO 8601.timezonestringZone the times were entered in.duration_minutesintegerLength.statusenumStage. One ofscheduled,in_progress,completed,cancelled.status_labelstringLocalized.notify_subscribersbooleanMaster switch for subscriber emails.notify_nowbooleanAnnounce when scheduled.notify_day_beforebooleanRemind the day before.notify_startbooleanEmail at start.notify_endbooleanEmail at end.pause_alertsbooleanDon’t alert on affected monitors during the window.components[]{id, name}Affected components.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute. When you go over, wait for the number of seconds in Retry-After.
Errors
Every error is JSON with a message. See Errors.