Elastic Stack (ELK Stack) Rollup API

The rollup API from Elastic Stack (ELK Stack) — 8 operation(s) for rollup.

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 one rollup job's config and stats · Get rollup job information #
Ask an LLM
“What is the status and configuration of a specific rollup job?”
“Why doesn't a rollup job I deleted show up when I look it up by ID?”
Tell an agent
Show rollup job {id}.
Get stats and status for rollup job {id}.
PUT /_rollup/job/{id} Create a rollup job · Create a rollup job #
Ask an LLM
“How do I summarize old time series data into a smaller rollup index on a schedule?”
“Which fields do I have to define when setting up a rollup job?”
Tell an agent
Create rollup job {id} over {index_pattern} into {rollup_index} on cron {cron}, groups {groups}, page size {page_size}.
Set up rollup {id} with metrics {metrics} from {index_pattern} to {rollup_index}, cron {cron}, groups {groups}, page size {page_size}.
DELETE /_rollup/job/{id} Delete a rollup job · Delete a rollup job #
Ask an LLM
“Can I delete a rollup job that is still started?”
“Does deleting a rollup job remove the rolled-up data too?”
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 are active on my cluster?”
“Can I see every started and stopped rollup job at once?”
Tell an agent
List all rollup jobs.
Show every active rollup job with its stats.
GET /_rollup/data/{id} Get rollup capabilities for an index pattern · Get the rollup job capabilities #
Ask an LLM
“Which fields and aggregations are rolled up for a given source index pattern?”
“Can I check what rollup jobs cover a particular index before querying?”
Tell an agent
Show rollup capabilities for index pattern {id}.
List the rolled-up fields available for source {id}.
GET /_rollup/data Get rollup capabilities for all indices · Get the rollup job capabilities #
Ask an LLM
“What rollup capabilities exist across every source index in the cluster?”
“Can I list rollup capabilities without naming an index pattern?”
Tell an agent
List rollup capabilities for all source indices.
Show rolled-up fields for every configured index pattern.
GET /{index}/_rollup/data Get capabilities of a rollup index · Get the rollup index capabilities #
Ask an LLM
“What jobs and aggregations are stored inside a particular rollup index?”
“Can I inspect a rollup index to see what it can answer?”
Tell an agent
Show the rollup capabilities stored in rollup index {index}.
List jobs and fields held in rollup index {index}.
POST /{index}/_rollup_search Search rolled-up data with POST · Search rolled-up data #
Ask an LLM
“How do I POST a rollup search that combines live and rolled-up indices?”
“Is POST the right method for a rollup search with a large request body?”
Tell an agent
POST a rollup search to {index} with aggregations {aggregations}.
Send a POST rollup query {query} against {index}, size {size}.
POST /_rollup/job/{id}/_start Start a rollup job · Start rollup jobs #
Ask an LLM
“How do I start a rollup job I just created?”
“What happens if I start a rollup job that is already running?”
Tell an agent
Start rollup job {id}.
Begin rolling up data with job {id}.
POST /_rollup/job/{id}/_stop Stop a rollup job · Stop rollup jobs #
Ask an LLM
“Can I block until a rollup job has fully stopped before deleting it?”
“How long will stopping a rollup job wait before timing out?”
Tell an agent
Stop rollup job {id}.
Stop rollup job {id} and wait for completion {wait_for_completion} up to {timeout}.

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:elk-stack-rollup-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-rollup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Request & Response Specification Rollup API
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
tags:


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