---
title: "GET /{stack}/adminconfig/v2/maintenance-windows/preferences/available-windows"
method: GET
path: "/{stack}/adminconfig/v2/maintenance-windows/preferences/available-windows"
tags: ["MaintenanceWindows", "PreferredMaintenanceWindows"]
---

# GET /{stack}/adminconfig/v2/maintenance-windows/preferences/available-windows

`GET /{stack}/adminconfig/v2/maintenance-windows/preferences/available-windows`

Returns all available windows for a given stack that a customer can choose as 'Preferred time and day of week'. The response groups available days by predefined regional off-hours time slots, with days ordered by availability (most available first). If start and end query parameters are provided, they must match one of the predefined time slots to filter results to that specific time slot only.

## Path parameters

- `stack` string, required

## Query parameters

- `start` string
- `end` string

## Response `200`

successfully listed all available windows for preference selection

- MaintenanceWindowsAvailableWindowsResponse — Response containing available maintenance windows for preference selection.
  - `availableWindows` MaintenanceWindowsAvailableWindow[], required — List of available maintenance windows with their time slots and available days.
    - `daysOfWeek` DayOfWeek[], required — Days of the week available for this time slot, ordered by availability (most available first).
    - `timeSlot` MaintenanceWindowsTimeSlot, required — Represents a time range. If end time is before start time, it indicates the time range spans midnight.
      - `end` string, required — End time in HH:MM UTC format.
      - `start` string, required — Start time in HH:MM UTC format.

## Other responses

- `403` — Forbidden - Stack not yet eligible for preferred windows feature
- `default` — unexpected error

---

[API](https://skmtc.dev/splunk/apis/splunk-cloud-admin-api.md) · [All operations](https://skmtc.dev/splunk/apis/splunk-cloud-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/splunk/splunk-cloud-admin-api/revisions/65903649d1c2/schema)
