---
title: "GET /{stack}/adminconfig/v2/maintenance-windows/schedules"
method: GET
path: "/{stack}/adminconfig/v2/maintenance-windows/schedules"
tags: ["MaintenanceWindows"]
---

# GET /{stack}/adminconfig/v2/maintenance-windows/schedules

`GET /{stack}/adminconfig/v2/maintenance-windows/schedules`

List all scheduled maintenance windows schedules on the stack. The default time range is 30 days. If both fromTime and toTime is empty, the default range is +30 days from current time. If only toTime is given, the default range is -30 days from toTime.

## Path parameters

- `stack` string, required

## Query parameters

- `count` integer
- `nextLink` string
- `fromTime` string
- `toTime` string

## Response `200`

successfully listed all scheduled maintenance windows schedules

- MaintenanceWindowsResponse[]
  - `nextLink` string, required
  - `schedules` MaintenanceWindowsSchedule[], required
    - `duration` string, required — The duration of the maintenance window. Format is a Go duration string.
    - `extendedDuration` string — The duration of the maintenance window schedule extension. Format is a Go duration string.
    - `lastModifiedTimestamp` string, date-time, required — Time at which the maintenance window was last modified. Format is RFC3339.
    - `maintenanceEndedAt` string, date-time — Time at which the maintenance window actually ended. This field is populated only after the window ends. Format is RFC3339.
    - `maintenanceStartedAt` string, date-time — Time at which the maintenance window actually started. This field is populated only after the window begins. Format is RFC3339.
    - `mwType` string, required — The type of upgrade performed in the maintenance window.
    - `operations` MaintenanceWindowsOperation[], required — List of operations being performed in the maintenance window.
      - `SFDCTickets` string[] — [DEPRECATED] List of SFDC cases associated with the operation. Use `tickets` instead`
      - `endTime` string, date-time — Time at which the operation ended.
      - `metadata` object — A map containing metadata about the operation being performed (e.g. AppName, TargetVersion, etc...).
      - `notes` string[] — Notes for the customer.
      - `operationDescription` string, required — Description of the operation.
      - `operationStatus` string, required — Status of the operation.
      - `startTime` string, date-time — Time at which the operation started.
      - `tickets` MaintenanceWindowsTicket[], required — List of SFDC cases associated with the operation.
        - `id` string, required — ID of the ticket.
        - `type` string, required — Type of ticket. Salesforce (SFDC) tickets are the only ticket types exposed via ACS.
        - `url` string, required — URL to the ticket.
      - `zeroDowntime` boolean, required — True if the operation will have no impact on the uptime of the stack.
    - `requestedEntity` string, required — The entity which requested the maintenance window, either the customer or Splunk.
    - `requestedUser` string — The user who requested the maintenance window.
    - `scheduleEndTimestamp` string, date-time, required — Time at which the maintenance window is scheduled to end. Format is RFC3339.
    - `scheduleId` string, required — UUID of the maintenance window.
    - `scheduleStartTimestamp` string, date-time, required — Time at which the maintenance window is scheduled to begin. Format is RFC3339.
    - `status` string, required — The status of the maintenance window schedule.
    - `zeroDowntime` boolean, required — True if the maintenance window will have no impact on the uptime of the stack.

## Other responses

- `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)
