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

# Get Effective Maintenance Window

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

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

Return the window's schedule as it was effective at the given instant.

## Path parameters

- `window_id` string, uuid, required

## Query parameters

- `at` string, date-time, required

## Headers

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

## Response `200`

Successful Response

- MaintenanceWindowRevisionRead: A historical snapshot of a window's schedule.
  - `effective_from` string, date-time, required
  - `name` string, 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[]
  - `edited_by` string, uuid, nullable, 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)
