---
title: "List Maintenance Windows"
method: GET
path: "/v1/maintenance-windows"
tags: ["Maintenance Windows"]
---

# List Maintenance Windows

`GET /v1/maintenance-windows`

## Request

- Base URL: `https://api.fettle.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fettle.sh/v1/maintenance-windows`
- Auth: API key in header `Authorization`

List the active organization's maintenance windows, optionally filtered by name.

## Query parameters

- `q` string, nullable
- `sort` 'name' | 'created_at': Ordering for the windows listing endpoint.
- `page` integer
- `size` integer

## Headers

- `X-Organization-Id` string, uuid, nullable

## Response `200`

Successful Response

- PaginatedResponseMaintenanceWindowRead
  - `items` MaintenanceWindowRead[], required
    - `id` string, uuid, required
    - `name` string, required
    - `enabled` boolean, required
    - `scope` 'MONITOR' | 'ORG', required: What a window targets. ``ORG`` covers every monitor in the org; ``MONITOR`` covers the explicitly linked monitors only.
    - `dtstart` string, date-time, required
    - `duration_minutes` integer, required
    - `rrule` string, nullable, required
    - `timezone` string, required
    - `monitor_ids` string[]
    - `created_at` string, date-time, required
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required
  - `pages` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fettle/apis/fettle-sh.md) · [All operations](https://skmtc.dev/fettle/apis/fettle-sh/llms.txt) · [OpenAPI document](https://skmtc.dev/fettle/apis/fettle-sh/revisions/f32c8a18606f?raw)
