Elastic Stack (ELK Stack) data stream API

The data stream API from Elastic Stack (ELK Stack) — 14 operation(s) for data stream.

Operations 21

GET /_data_stream/{name} Get data streams #
PUT /_data_stream/{name} Create a data stream #
DELETE /_data_stream/{name} Delete data streams #
GET /_data_stream/_stats Get data stream stats #
GET /_data_stream/{name}/_stats Get data stream stats #
GET /_data_stream/{name}/_lifecycle Get data stream lifecycles #
PUT /_data_stream/{name}/_lifecycle Update data stream lifecycles #
GET /_data_stream/{name}/_options Get data stream options #
PUT /_data_stream/{name}/_options Update data stream options #
DELETE /_data_stream/{name}/_options Delete data stream options #
POST /{index}/_downsample/{target_index} Downsample an index #
GET /{index}/_lifecycle/explain Get the status for a data stream lifecycle #
GET /_lifecycle/stats Get data stream lifecycle stats #
GET /_data_stream Get data streams #
GET /_data_stream/{name}/_mappings Get data stream mappings #
PUT /_data_stream/{name}/_mappings Update data stream mappings #
GET /_data_stream/{name}/_settings Get data stream settings #
PUT /_data_stream/{name}/_settings Update data stream settings #
POST /_data_stream/_migrate/{name} Convert an index alias to a data stream #
POST /_data_stream/_modify Update data streams #
POST /_data_stream/_promote/{name} Promote a data stream #

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


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