{
  "cluster.health": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-health",
      "description": "Get the cluster health status"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_cluster/health",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/_cluster/health/{index}",
          "methods": [
            "GET"
          ],
          "parts": {
            "index": {
              "type": "list",
              "description": "Limit the information returned to a specific index"
            }
          }
        }
      ]
    },
    "params": {
      "expand_wildcards": {
        "type": "list",
        "options": [
          "open",
          "closed",
          "hidden",
          "none",
          "all"
        ],
        "default": "all",
        "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
      },
      "level": {
        "type": "enum",
        "options": [
          "cluster",
          "indices",
          "shards"
        ],
        "default": "cluster",
        "description": "Specify the level of detail for returned information"
      },
      "local": {
        "type": "boolean",
        "default": false,
        "description": "Return local information, do not retrieve the state from master node (default: false)"
      },
      "master_timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout for connection to master node"
      },
      "timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout"
      },
      "wait_for_active_shards": {
        "type": "string",
        "default": "0",
        "description": "Wait until the specified number of shards is active"
      },
      "wait_for_nodes": {
        "type": "string",
        "description": "Wait until the specified number of nodes is available"
      },
      "wait_for_events": {
        "type": "enum",
        "options": [
          "immediate",
          "urgent",
          "high",
          "normal",
          "low",
          "languid"
        ],
        "description": "Wait until all currently queued events with the given priority are processed"
      },
      "wait_for_no_relocating_shards": {
        "type": "boolean",
        "default": false,
        "description": "Whether to wait until there are no relocating shards in the cluster"
      },
      "wait_for_no_initializing_shards": {
        "type": "boolean",
        "default": false,
        "description": "Whether to wait until there are no initializing shards in the cluster"
      },
      "wait_for_status": {
        "type": "enum",
        "options": [
          "green",
          "yellow",
          "red",
          "unknown",
          "unavailable"
        ],
        "description": "Wait until cluster is in a specific state"
      }
    }
  }
}
