---
title: "Get Maintenance Window"
method: GET
path: "/v1/maintenance-windows/{window_id}"
tags: ["Maintenance Windows"]
---

# Get Maintenance Window

`GET /v1/maintenance-windows/{window_id}`

## 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/{window_id}`
- Auth: API key in header `Authorization`

Return a single maintenance window by id, with its next occurrences.

## Path parameters

- `window_id` string, uuid, required

## Headers

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

## Response `200`

Successful Response

- MaintenanceWindowDetailRead: One window with its next occurrences. Only the single read computes them, so the field lives here: on list and write responses it used to come back always empty.
  - `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
  - `next_occurrences` OccurrenceRead[]
    - `start` string, date-time, required
    - `end` string, date-time, 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)
