Get Space Maintenance Schedules

Retrieve the maintenance windows that apply to a specific space.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint retrieves the maintenance schedules that apply to a space: the ones set on it, the enabled ones it inherits from its ancestors, and the resulting coverage. It sends an HTTP GET request to https://hub.xyte.io/core/v1/organization/spaces/{space_id}/maintenance_schedules.

Authorization

This endpoint requires Authorization.

Path Parameters

ParameterTypeDescription
space_idintegerUnique identifier of the space.

Response

KeySubkeyTypeDescription
ownarrayEvery schedule set on this space, enabled or not, in the shape of a Get Maintenance Schedules item.
inheritedarrayThe enabled schedules set on ancestors of this space, in the same shape as own; space is the ancestor carrying the schedule.
effectiveobjectThe union of all enabled schedules covering the space. Overlapping or touching windows chain into one.
activebooleanA window covers the space now.
untilstringWhen the current window ends, in ISO 8601 format (UTC); null when none is active.
next_start_atstringThe next window start after now, in ISO 8601 format (UTC); null when none starts within 7 days.
next_end_atstringEnd of that next window, in ISO 8601 format (UTC); null when none starts within 7 days.
timezonestringThe space's own IANA time zone, resolved as for a schedule's timezone.
{
  "own": [
    {
      "id": "3c1e2f4a-8b7d-4c6e-9f10-xxxxxxxxxxxx",
      "name": "Nightly",
      "days": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"],
      "start": "02:00",
      "end": "06:00",
      "timezone": "Europe/Paris",
      "enabled": true,
      "space": {
        "id": 17520,
        "name": "Boardroom",
        "path": "Green Energy Corp/France/Paris Office/Boardroom"
      },
      "active": true,
      "until": "2026-10-20T04:00:00Z",
      "next_start_at": "2026-10-21T00:00:00Z",
      "next_end_at": "2026-10-21T04:00:00Z",
      "created_by": null,
      "created_at": "2026-10-19T09:12:44Z",
      "updated_at": "2026-10-19T09:12:44Z"
    }
  ],
  "inherited": [
    {
      "id": "7a4d0b9e-1c2f-4e3a-8b5d-xxxxxxxxxxxx",
      "name": "Weekly update",
      "days": ["sun"],
      "start": "05:00",
      "end": "08:00",
      "timezone": "Europe/Paris",
      "enabled": true,
      "space": {
        "id": 17517,
        "name": "Paris Office",
        "path": "Green Energy Corp/France/Paris Office"
      },
      "active": false,
      "until": null,
      "next_start_at": "2026-10-25T04:00:00Z",
      "next_end_at": "2026-10-25T07:00:00Z",
      "created_by": null,
      "created_at": "2026-10-01T10:00:00Z",
      "updated_at": "2026-10-01T10:00:00Z"
    }
  ],
  "effective": {
    "active": true,
    "until": "2026-10-20T04:00:00Z",
    "next_start_at": "2026-10-21T00:00:00Z",
    "next_end_at": "2026-10-21T04:00:00Z",
    "timezone": "Europe/Paris"
  }
}

Errors

StatusDescription
403Scheduled maintenance is not enabled for your organization: { "error": "Scheduled maintenance is not enabled for this organization" }.
404The space does not exist or does not belong to your organization.
Path Params
integer
required

Unique identifier of the space.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json