---
title: "List Scheduled Downtimes"
method: GET
path: "/schedules/{schedule_id}/downtime/"
---

# List Scheduled Downtimes

`GET /schedules/{schedule_id}/downtime/`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/schedules/{schedule_id}/downtime/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/schedules/:schedule_id/downtime/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to list all the Downtimes of a Schedule.

## Path parameters

- `schedule_id` string, required

## Response `200`

200

- object
  - `meta` object
    - `project_id` string
    - `schedule_id` string
    - `next_cursor` string
    - `more` boolean
  - `results` object[]
    - `meta` object
      - `project_id` string
      - `state` string
      - `created` string
      - `schedule_id` string
      - `last_update` string
    - `id` string
    - `schedule` object
      - `repeat_days` integer
      - `start_time` string
      - `repeated` boolean
      - `end_time` string
      - `zone` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
