Elastic Stack (ELK Stack) Maintenance Window API

You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms during planned outages.

Operations 7

POST /api/maintenance_window Create a maintenance window. #
GET /api/maintenance_window/_find Search for a maintenance window. #
DELETE /api/maintenance_window/{id} Delete a maintenance window. #
GET /api/maintenance_window/{id} Get maintenance window details. #
PATCH /api/maintenance_window/{id} Update a maintenance window. #
POST /api/maintenance_window/{id}/_archive Archive a maintenance window. #
POST /api/maintenance_window/{id}/_unarchive Unarchive a maintenance window. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elk-stack-maintenance-window-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-maintenance-window-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Kibana Team
  description: 'The Kibana REST APIs enable you to manage resources such as connectors, data views, and saved objects.

    The API calls are stateless.

    Each request that you make happens in isolation from other calls and must include all of the necessary information for Kibana to fulfill the

    request.

    API requests return JSON output, which is a format that is machine-readable and works well for automation.


    To interact with Kibana APIs, use the following operations:


    - GET: Fetches the information.

    - PATCH: Applies partial modifications to the existing information.

    - POST: Adds new information.

    - PUT: Updates the existing information.

    - DELETE: Removes the information.


    You can prepend any Kibana API endpoint with `kbn:` and run the request in **Dev Tools → Console**.

    For example:


    ```

    GET kbn:/api/data_views

    ```


    For more information about the console, refer to [Run API requests](https://www.elastic.co/docs/explore-analyze/query-filter/tools/console).


    NOTE: Access to internal Kibana API endpoints will be restricted in Kibana version 9.0. Please move any integrations to publicly documented APIs.


    ## Documentation source and versions


    This documentation is derived from the `main` branch of the [kibana](https://github.com/elastic/kibana) repository.

    It is provided under license [Attribution-NonCommercial-NoDerivatives 4.0 International](https://creativecommons.org/licenses/by-nc-nd/4.0/).


    This documentation contains work-in-progress information for future Elastic Stack releases.

    '
  title: Kibana Maintenance Window API
  version: ''
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
security:
- apiKeyAuth: []
- basicAuth: []
tags:
- name: maintenance-window
  description: 'You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms during planned outages.

    '
  externalDocs:
    description: Maintenance window documentation
    url: https://www.elastic.co/docs/explore-analyze/alerts-cases/alerts/maintenance-windows
  x-displayName: Maintenance windows
paths:
  /api/maintenance_window:
    post:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: write-maintenance-window.'
      operationId: post-maintenance-window
      parameters:
      - description: A required header to protect against CSRF attacks
        in: header
        name: kbn-xsrf
        required: true
        schema:
          example: 'true'
          type: string
      requestBody:
        content:
          application/json:
            examples:
              createMaintenanceWindowRequest:
                description: 'Create a maintenance window that recurs every week on Monday and Wednesday for two hours, with a scope that filters specific alerts using a KQL query.

                  '
                summary: Create a maintenance window
                value:
                  enabled: true
                  schedule:
                    custom:
                      duration: 2h
                      recurring:
                        every: 1w
                        occurrences: 10
                        onWeekDay:
                        - MO
                        - WE
                      start: '2025-03-01T08:00:00.000Z'
                      timezone: Europe/Amsterdam
                  scope:
                    alerting:
                      query:
                        kql: 'kibana.alert.tags: "infra"'
                  title: Weekly Maintenance Window
            schema:
              $ref: '#/components/schemas/Kibana_HTTP_APIs_new_maintenance_window'
      responses:
        '200':
          content:
            application/json:
              examples:
                createMaintenanceWindowResponse:
                  description: 'The response returned when a maintenance window is successfully created.

                    '
                  summary: Create a maintenance window response
                  value:
                    created_at: '2025-02-25T10:00:00.000Z'
                    created_by: elastic
                    enabled: true
                    id: f0cb1780-537a-4e34-8adf-3b4336862858
                    schedule:
                      custom:
                        duration: 2h
                        recurring:
                          every: 1w
                          occurrences: 10
                          onWeekDay:
                          - MO
                          - WE
                        start: '2025-03-01T08:00:00.000Z'
                        timezone: Europe/Amsterdam
                    scope:
                      alerting:
                        query:
                          kql: 'kibana.alert.tags: "infra"'
                    status: upcoming
                    title: Weekly Maintenance Window
                    updated_at: '2025-02-25T10:00:00.000Z'
                    updated_by: elastic
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
      summary: Create a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
  /api/maintenance_window/_find:
    get:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/_find</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: read-maintenance-window.'
      operationId: get-maintenance-window-find
      parameters:
      - description: The title of the maintenance window.
        in: query
        name: title
        required: false
        schema:
          type: string
      - description: The user who created the maintenance window.
        in: query
        name: created_by
        required: false
        schema:
          type: string
      - description: The status of the maintenance window. It can be "running", "upcoming", "finished", "archived", or "disabled".
        in: query
        name: status
        required: false
        schema:
          items:
            enum:
            - running
            - finished
            - upcoming
            - archived
            - disabled
            type: string
          type: array
      - description: The page number to return.
        in: query
        name: page
        required: false
        schema:
          default: 1
          maximum: 100
          minimum: 1
          type: number
      - description: The number of maintenance windows to return per page.
        in: query
        name: per_page
        required: false
        schema:
          default: 10
          maximum: 100
          minimum: 1
          type: number
      responses:
        '200':
          content:
            application/json:
              examples:
                findMaintenanceWindowsResponse:
                  description: 'The response returned when maintenance windows are successfully found.

                    '
                  summary: Find maintenance windows response
                  value:
                    maintenanceWindows:
                    - created_at: '2025-02-25T10:00:00.000Z'
                      created_by: elastic
                      enabled: true
                      id: f0cb1780-537a-4e34-8adf-3b4336862858
                      schedule:
                        custom:
                          duration: 2h
                          recurring:
                            every: 1w
                            occurrences: 10
                            onWeekDay:
                            - MO
                            - WE
                          start: '2025-03-01T08:00:00.000Z'
                          timezone: Europe/Amsterdam
                      scope:
                        alerting:
                          query:
                            kql: 'kibana.alert.tags: "infra"'
                      status: upcoming
                      title: Weekly Maintenance Window
                      updated_at: '2025-02-25T10:00:00.000Z'
                      updated_by: elastic
                    - created_at: '2025-03-10T09:00:00.000Z'
                      created_by: elastic
                      enabled: true
                      id: a1c94560-6e3b-4ea1-9065-8e3f1b8c5f29
                      schedule:
                        custom:
                          duration: 1h
                          recurring:
                            end: '2025-12-31T00:00:00.000Z'
                            every: 2w
                            onWeekDay:
                            - FR
                          start: '2025-04-01T10:00:00.000Z'
                          timezone: US/Eastern
                      scope:
                        alerting:
                          query:
                            kql: 'kibana.alert.tags: "database"'
                      status: upcoming
                      title: Database Upgrade Window
                      updated_at: '2025-03-15T14:30:00.000Z'
                      updated_by: elastic
                    page: 1
                    per_page: 10
                    total: 2
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_find_maintenance_windows_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
      summary: Search for a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.2.0
      x-metaTags:
      - content: Kibana
        name: product_name
  /api/maintenance_window/{id}:
    delete:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/{id}</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: write-maintenance-window.'
      operationId: delete-maintenance-window-id
      parameters:
      - description: A required header to protect against CSRF attacks
        in: header
        name: kbn-xsrf
        required: true
        schema:
          example: 'true'
          type: string
      - description: The identifier for the maintenance window to be deleted.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
        '404':
          description: Indicates a maintenance window with the given ID does not exist.
      summary: Delete a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
    get:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/{id}</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: read-maintenance-window.'
      operationId: get-maintenance-window-id
      parameters:
      - description: The identifier for the maintenance window.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                getMaintenanceWindowResponse:
                  description: 'The response returned when a maintenance window is successfully retrieved.

                    '
                  summary: Get a maintenance window response
                  value:
                    created_at: '2025-02-25T10:00:00.000Z'
                    created_by: elastic
                    enabled: true
                    id: f0cb1780-537a-4e34-8adf-3b4336862858
                    schedule:
                      custom:
                        duration: 2h
                        recurring:
                          every: 1w
                          occurrences: 10
                          onWeekDay:
                          - MO
                          - WE
                        start: '2025-03-01T08:00:00.000Z'
                        timezone: Europe/Amsterdam
                    scope:
                      alerting:
                        query:
                          kql: 'kibana.alert.tags: "infra"'
                    status: upcoming
                    title: Weekly Maintenance Window
                    updated_at: '2025-02-25T10:00:00.000Z'
                    updated_by: elastic
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
        '404':
          description: Indicates a maintenance window with the given ID does not exist.
      summary: Get maintenance window details.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
    patch:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb patch">patch</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/{id}</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: write-maintenance-window.'
      operationId: patch-maintenance-window-id
      parameters:
      - description: A required header to protect against CSRF attacks
        in: header
        name: kbn-xsrf
        required: true
        schema:
          example: 'true'
          type: string
      - description: The identifier for the maintenance window.
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            examples:
              updateMaintenanceWindowRequest:
                description: 'Update a maintenance window to change its title, schedule, and scope.

                  '
                summary: Update a maintenance window
                value:
                  enabled: true
                  schedule:
                    custom:
                      duration: 1h
                      recurring:
                        end: '2025-12-31T00:00:00.000Z'
                        every: 2w
                        onWeekDay:
                        - FR
                      start: '2025-04-01T10:00:00.000Z'
                      timezone: US/Eastern
                  scope:
                    alerting:
                      query:
                        kql: 'kibana.alert.tags: "database"'
                  title: Updated maintenance window
            schema:
              $ref: '#/components/schemas/Kibana_HTTP_APIs_update_maintenance_window'
      responses:
        '200':
          content:
            application/json:
              examples:
                updateMaintenanceWindowResponse:
                  description: 'The response returned when a maintenance window is successfully updated.

                    '
                  summary: Update a maintenance window response
                  value:
                    created_at: '2025-02-25T10:00:00.000Z'
                    created_by: elastic
                    enabled: true
                    id: f0cb1780-537a-4e34-8adf-3b4336862858
                    schedule:
                      custom:
                        duration: 1h
                        recurring:
                          end: '2025-12-31T00:00:00.000Z'
                          every: 2w
                          onWeekDay:
                          - FR
                        start: '2025-04-01T10:00:00.000Z'
                        timezone: US/Eastern
                    scope:
                      alerting:
                        query:
                          kql: 'kibana.alert.tags: "database"'
                    status: upcoming
                    title: Updated maintenance window
                    updated_at: '2025-03-15T14:30:00.000Z'
                    updated_by: elastic
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
        '404':
          description: Indicates a maintenance window with the given ID does not exist.
        '409':
          description: Indicates that the maintenance window has already been updated by another user.
      summary: Update a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
  /api/maintenance_window/{id}/_archive:
    post:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/{id}/_archive</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: write-maintenance-window.'
      operationId: post-maintenance-window-id-archive
      parameters:
      - description: A required header to protect against CSRF attacks
        in: header
        name: kbn-xsrf
        required: true
        schema:
          example: 'true'
          type: string
      - description: The identifier for the maintenance window to be archived.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                archiveMaintenanceWindowResponse:
                  description: 'The response returned when a maintenance window is successfully archived.

                    '
                  summary: Archive a maintenance window response
                  value:
                    created_at: '2025-02-25T10:00:00.000Z'
                    created_by: elastic
                    enabled: true
                    id: f0cb1780-537a-4e34-8adf-3b4336862858
                    schedule:
                      custom:
                        duration: 2h
                        recurring:
                          every: 1w
                          occurrences: 10
                          onWeekDay:
                          - MO
                          - WE
                        start: '2025-03-01T08:00:00.000Z'
                        timezone: Europe/Amsterdam
                    scope:
                      alerting:
                        query:
                          kql: 'kibana.alert.tags: "infra"'
                    status: archived
                    title: Weekly Maintenance Window
                    updated_at: '2025-02-25T10:00:00.000Z'
                    updated_by: elastic
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
        '404':
          description: Indicates a maintenance window with the given ID does not exist.
      summary: Archive a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
  /api/maintenance_window/{id}/_unarchive:
    post:
      description: '**Spaces method and path for this operation:**


        <div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/maintenance_window/{id}/_unarchive</span></div>


        Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.


        [Required authorization] Route required privileges: write-maintenance-window.'
      operationId: post-maintenance-window-id-unarchive
      parameters:
      - description: A required header to protect against CSRF attacks
        in: header
        name: kbn-xsrf
        required: true
        schema:
          example: 'true'
          type: string
      - description: The identifier for the maintenance window to be unarchived.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                unarchiveMaintenanceWindowResponse:
                  description: 'The response returned when a maintenance window is successfully unarchived.

                    '
                  summary: Unarchive a maintenance window response
                  value:
                    created_at: '2025-02-25T10:00:00.000Z'
                    created_by: elastic
                    enabled: true
                    id: f0cb1780-537a-4e34-8adf-3b4336862858
                    schedule:
                      custom:
                        duration: 2h
                        recurring:
                          every: 1w
                          occurrences: 10
                          onWeekDay:
                          - MO
                          - WE
                        start: '2025-03-01T08:00:00.000Z'
                        timezone: Europe/Amsterdam
                    scope:
                      alerting:
                        query:
                          kql: 'kibana.alert.tags: "infra"'
                    status: upcoming
                    title: Weekly Maintenance Window
                    updated_at: '2025-02-25T10:00:00.000Z'
                    updated_by: elastic
              schema:
                $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          description: Indicates a successful call.
        '400':
          description: Indicates an invalid schema or parameters.
        '403':
          description: Indicates that this call is forbidden.
        '404':
          description: Indicates a maintenance window with the given ID does not exist.
      summary: Unarchive a maintenance window.
      tags:
      - maintenance-window
      x-state: Generally available; added in 9.1.0
      x-metaTags:
      - content: Kibana
        name: product_name
components:
  schemas:
    Kibana_HTTP_APIs_maintenance_window_schedule_request:
      additionalProperties: false
      properties:
        duration:
          description: 'The duration of the schedule. It allows values in `<integer><unit>` format. `<unit>` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.'
          maxLength: 100
          type: string
        recurring:
          $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_schedule_recurring_request'
        start:
          description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.'
          maxLength: 100
          type: string
        timezone:
          description: The timezone of the schedule. The default timezone is UTC.
          maxLength: 64
          type: string
      required:
      - start
      - duration
      title: maintenance_window_schedule_request
      type: object
    Kibana_HTTP_APIs_maintenance_window_scope:
      additionalProperties: false
      properties:
        alerting:
          additionalProperties: false
          type: object
          properties:
            query:
              additionalProperties: false
              type: object
              properties:
                kql:
                  description: A filter written in Kibana Query Language (KQL). Only alerts matching this query will be suppressed by the maintenance window.
                  type: string
              required:
              - kql
          required:
          - query
      required:
      - alerting
      title: maintenance_window_scope
      type: object
    Kibana_HTTP_APIs_maintenance_window_schedule_recurring_request:
      additionalProperties: false
      properties:
        end:
          description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.'
          maxLength: 100
          type: string
        every:
          description: 'The interval and frequency of a recurring schedule. It allows values in `<integer><unit>` format. `<unit>` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.'
          maxLength: 100
          type: string
        occurrences:
          description: The total number of recurrences of the schedule.
          minimum: 1
          type: number
        onMonth:
          description: The specific months for a recurring schedule. Valid values are 1-12.
          items:
            maximum: 12
            minimum: 1
            type: number
          maxItems: 12
          minItems: 1
          type: array
        onMonthDay:
          description: The specific days of the month for a recurring schedule. Valid values are 1-31.
          items:
            maximum: 31
            minimum: 1
            type: number
          maxItems: 31
          minItems: 1
          type: array
        onWeekDay:
          description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule.
          items:
            maxLength: 10
            type: string
          maxItems: 77
          minItems: 1
          type: array
      title: maintenance_window_schedule_recurring_request
      type: object
    Kibana_HTTP_APIs_maintenance_window_response:
      additionalProperties: false
      properties:
        created_at:
          description: The date and time when the maintenance window was created.
          type: string
        created_by:
          default: null
          description: The identifier for the user that created the maintenance window.
          type:
          - string
          - 'null'
        enabled:
          description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications.
          type: boolean
        id:
          description: The identifier for the maintenance window.
          type: string
        schedule:
          additionalProperties: false
          type: object
          properties:
            custom:
              $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_schedule_response'
          required:
          - custom
        scope:
          $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_scope'
        status:
          description: The current status of the maintenance window.
          enum:
          - running
          - upcoming
          - finished
          - archived
          - disabled
          type: string
        title:
          description: The name of the maintenance window.
          type: string
        updated_at:
          description: The date and time when the maintenance window was last updated.
          type: string
        updated_by:
          default: null
          description: The identifier for the user that last updated this maintenance window.
          type:
          - string
          - 'null'
      required:
      - id
      - title
      - enabled
      - created_at
      - updated_at
      - status
      - schedule
      title: maintenance_window_response
      type: object
    Kibana_HTTP_APIs_find_maintenance_windows_response:
      additionalProperties: false
      properties:
        maintenanceWindows:
          description: The list of maintenance windows.
          items:
            $ref: '#/components/schemas/Kibana_HTTP_APIs_maintenance_window_response'
          type: array
        page:
          description: The current page number.
          type: number
        per_page:
          description: The number of maintenance windows returned per page.
          type: number
        total:
          description: The total number of maintenance windows that match the query.
          type: number
      required:
      - page
      - per_page
      - total
      - maintenanceWindows
      title: find_maintenance_windows_response
      type: object
    Kibana_HTTP_APIs_maintenance_window_schedule_recurring_response:
      additionalProperties: false
      properties:
        end:
          description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.'
          type: string
        every:
          description: 'The interval and frequency of a recurring schedule. It allows values in `<integer><unit>` format. `<unit>` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.'
          type: string
        occurrences:
          description: The total number of recurrences of the schedule.
          type: number
        onMonth:
          description: The specific months for a recurring schedule. Valid values are 1-12.
          items:
            type: number
          maxItems: 12
          type: array
        onMonthDay:
          description: The specific days of the month for a recurring schedule. Valid values are 1-31.
          items:
            type: number
          maxItems: 31
          type: array
        onWeekDay:
          description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule.
          items:
            maxLength: 10
            type: string
          maxItems: 77
          type: array
      title: maintenance_window_schedule_recurring_response
      type: object
    Kibana_HTTP_APIs_update_maintenance_window:
      additionalProperties: false
      properties:
        enabled:
          description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications.
          type: boolean
        schedule:
          additionalProperties: false
          type: object
          properties:
            

# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-maintenance-window-api-openapi.yml