Elastic Rollup API

The rollup APIs enable you to create, manage, and retrieve information about rollup jobs.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /_rollup/job/{id} Get a rollup job's configuration · Get rollup job information #
Ask an LLM
“How do I see the config and stats of one rollup job?”
“What state is a particular rollup job in right now?”
Tell an agent
Get rollup job {id}.
Show the status and stats of rollup job {id}.
PUT /_rollup/job/{id} Create a rollup job · Create a rollup job #
Ask an LLM
“How do I create a job that rolls up historical data into a summary index?”
“Can I schedule a rollup job with a cron expression?”
Tell an agent
Create rollup job {id} rolling up {index_pattern} into {rollup_index}.
Create rollup job {id} on schedule {cron} with groups {groups} and page size {page_size}.
DELETE /_rollup/job/{id} Delete a rollup job · Delete a rollup job #
Ask an LLM
“How do I remove a rollup job that's no longer needed?”
“Does deleting a rollup job remove its rolled-up data?”
Tell an agent destructive · confirm first
Delete rollup job {id}.
Remove the stopped rollup job {id}.
GET /_rollup/job List all rollup jobs · Get rollup job information #
Ask an LLM
“Which rollup jobs exist on my cluster?”
“Can I see every rollup job and its state in one call?”
Tell an agent
List all rollup jobs.
Show every rollup job configured in the cluster.
GET /_rollup/data/{id} Get rollup capabilities for an index pattern · Get the rollup job capabilities #
Ask an LLM
“What fields and aggregations are rolled up for a given index pattern?”
“Which rollup capabilities exist for data matching a specific pattern?”
Tell an agent
Show rollup capabilities for index pattern {id}.
List the rolled-up fields that exist for {id}.
GET /_rollup/data Get rollup capabilities for all jobs · Get the rollup job capabilities #
Ask an LLM
“What rollup capabilities are configured across all indices?”
“Can I list every field that any rollup job summarizes?”
Tell an agent
Show rollup capabilities for all index patterns.
List all rolled-up fields and metrics in the cluster.
GET /{index}/_rollup/data Get capabilities of a rollup index · Get the rollup index capabilities #
Ask an LLM
“What rollup jobs are stored in a particular rollup index?”
“Which aggregations can I run against a given rollup index?”
Tell an agent
Show the rollup capabilities stored in rollup index {index}.
List the jobs and metrics inside rollup index {index}.
POST /{index}/_rollup_search Search rolled-up data (POST) · Search rolled-up data #
Ask an LLM
“Can I send a rollup search body via POST?”
“How do I aggregate summarized historical data with a POST search?”
Tell an agent
Via POST, search rollup index {index} with aggregations {aggregations}.
POST a rollup search to {index} filtered by {query}.
POST /_rollup/job/{id}/_start Start a rollup job · Start rollup jobs #
Ask an LLM
“How do I start a rollup job that I created or stopped?”
“Can I resume a stopped rollup job?”
Tell an agent
Start rollup job {id}.
Resume the stopped rollup job {id}.
POST /_rollup/job/{id}/_stop Stop a rollup job · Stop rollup jobs #
Ask an LLM
“How do I stop a running rollup job?”
“Can I wait until a rollup job has fully stopped?”
Tell an agent
Stop rollup job {id}.
Stop rollup job {id} and wait for completion.

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/elastic:elastic-rollup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

elastic-rollup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Rollup API
  description: 'Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.

    ## Documentation source and versions

    This documentation is derived from the main branch of the elasticsearch-specification repository. It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.

    This documentation contains work-in-progress information for future Elastic Stack releases.'
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
security:
- apiKeyAuth: []
- basicAuth: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (473 KB total) ---
# Full source: https://artifacts.apis.io/elastic/openapi/elastic-rollup-api-openapi.yml