---
title: "Get list of maintenances"
method: GET
path: "/operations/v1/maintenances"
tags: ["Maintenance"]
---

# Get list of maintenances

`GET /operations/v1/maintenances`

Get a list of maintenances matching your filter.<br>You must have at least one of these scopes: 'maintenances.read, maintenances.manage'.

## Query parameters

- `propertyId` string
- `unitId` string
- `from` string, date-time
- `to` string, date-time
- `types` string[]
- `pageNumber` integer
- `pageSize` integer
- `expand` string[]

## Response `200`

Return all maintenances.

- MaintenanceListModel
  - `maintenances` MaintenanceItemModel[], required — List of maintenances
    - `id` string, required — The id for the scheduled maintenance
    - `unit` EmbeddedUnitModel, required
      - `id` string, required — The unit id
      - `name` string, nullable — The name for the unit
      - `description` string, nullable — The description for the unit
      - `unitGroupId` string, nullable — The unit group id
    - `from` string, date-time, required — Date and time the scheduled maintenance window starts<br />A date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>
    - `to` string, date-time, required — Date and time the scheduled maintenance window ends<br />A date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>
    - `type` 'OutOfService' | 'OutOfOrder' | 'OutOfInventory', required — The type of maintenance that is planned for the unit. A small repair (OutOfService), a bigger disfunction that does not allow to sell the unit (OutOfOrder) or is it even under construction and should reduce the house count (OutOfInventory)
    - `description` string, nullable — The description text for the maintenance
  - `count` integer, required — Total count of items

## Other responses

- `204` — No maintenances for this unit could be found.
- `400` — Bad request.
- `401` — You are unauthorized.
- `403` — Forbidden.
- `404` — The Request-URI could not be found.
- `422` — Validation errors in the request body or query params.
- `499` — Client closed request.
- `500` — An unexpected error occurred.
- `503` — The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-operations-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-operations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-operations-api/revisions/42bfd5d5fecf/schema)
