{
  "rollup.rollup_search": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-rollup-search",
      "description": "Search rolled-up data"
    },
    "stability": "experimental",
    "visibility": "public",
    "deprecated": {
      "version": "8.11.0",
      "description": "Rollup APIs are deprecated, use downsampling with time series data stream instead"
    },
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/{index}/_rollup_search",
          "methods": [
            "GET",
            "POST"
          ],
          "parts": {
            "index": {
              "type": "list",
              "description": "The indices or index-pattern(s) (containing rollup or regular data) that should be searched"
            }
          }
        }
      ]
    },
    "params": {
      "typed_keys": {
        "type": "boolean",
        "default": false,
        "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response"
      },
      "rest_total_hits_as_int": {
        "type": "boolean",
        "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
        "default": false
      }
    },
    "body": {
      "description": "The search request body",
      "required": true
    }
  }
}
