---
title: "Maintenance windows of a status page"
method: GET
path: "/status-pages/{status_page_id}/maintenances"
tags: ["Status Page"]
---

# Maintenance windows of a status page

`GET /status-pages/{status_page_id}/maintenances`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/status-pages/{status_page_id}/maintenances`
- Auth: HTTP bearer

Newest first, cancelled and completed ones included.

## Path parameters

- `status_page_id` integer, required

## Query parameters

- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

Maintenance windows, newest first

- MaintenanceListResponse
  - `items` MaintenanceResponse[], required: Newest first.
    - `cancelled_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `description` string, nullable
    - `ends_at` string, date-time, required
    - `id` integer, required
    - `monitor_ids` integer[], required: The page's monitors the window covers.
    - `starts_at` string, date-time, required
    - `state` 'scheduled' | 'in_progress' | 'completed' | 'cancelled', required: Where a window is in its life.
    - `status_page_id` integer, required
    - `title` string, required: Shown on the public page and in announcements.
    - `updated_at` string, date-time, required
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Status page not found
- `500`: Internal server error

## Changes

- **2026-11-21** `d57a37c13a27`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/status-pages/:status_page_id/maintenances/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
