{
  "searchable_snapshots.stats": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/searchable-snapshots-api-stats.html",
      "description": "Get searchable snapshot statistics"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_searchable_snapshots/stats",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/{index}/_searchable_snapshots/stats",
          "methods": [
            "GET"
          ],
          "parts": {
            "index": {
              "type": "list",
              "description": "A comma-separated list of index names"
            }
          }
        }
      ]
    },
    "params": {
      "level": {
        "type": "enum",
        "description": "Return stats aggregated at cluster, index or shard level",
        "options": [
          "cluster",
          "indices",
          "shards"
        ],
        "default": "indices"
      }
    }
  }
}
