get
https://hub.xyte.io/core/v1/organization/spaces//maintenance_schedules
Retrieve the maintenance windows that apply to a specific space.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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
| Parameter | Type | Description |
|---|---|---|
| space_id | integer | Unique identifier of the space. |
Response
| Key | Subkey | Type | Description |
|---|---|---|---|
| own | array | Every schedule set on this space, enabled or not, in the shape of a Get Maintenance Schedules item. | |
| inherited | array | The enabled schedules set on ancestors of this space, in the same shape as own; space is the ancestor carrying the schedule. | |
| effective | object | The union of all enabled schedules covering the space. Overlapping or touching windows chain into one. | |
| active | boolean | A window covers the space now. | |
| until | string | When the current window ends, in ISO 8601 format (UTC); null when none is active. | |
| next_start_at | string | The next window start after now, in ISO 8601 format (UTC); null when none starts within 7 days. | |
| next_end_at | string | End of that next window, in ISO 8601 format (UTC); null when none starts within 7 days. | |
| timezone | string | The 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
| Status | Description |
|---|---|
| 403 | Scheduled maintenance is not enabled for your organization: { "error": "Scheduled maintenance is not enabled for this organization" }. |
| 404 | The space does not exist or does not belong to your organization. |
