Elastic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Elasticsearch data stream API
22 actions
22 updates
phrasing
extends
openapi/elastic-data-stream-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Elastic's API. It is a proposal applied on top of the contract, not a document Elastic publishes.
What the actions change
x-apievangelist-phrasing
Targets 22 · first 16 shown; the file carries all of them
$.info
$.paths['/_data_stream/{name}'].get
$.paths['/_data_stream/{name}'].put
$.paths['/_data_stream/{name}'].delete
$.paths['/_data_stream/_stats'].get
$.paths['/_data_stream/{name}/_stats'].get
$.paths['/_data_stream/{name}/_lifecycle'].get
$.paths['/_data_stream/{name}/_lifecycle'].put
$.paths['/_data_stream/{name}/_options'].get
$.paths['/_data_stream/{name}/_options'].put
$.paths['/_data_stream/{name}/_options'].delete
$.paths['/{index}/_downsample/{target_index}'].post
$.paths['/{index}/_lifecycle/explain'].get
$.paths['/_lifecycle/stats'].get
$.paths['/_data_stream'].get
$.paths['/_data_stream/{name}/_mappings'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Elasticsearch data stream API
version: 1.0.0
extends: openapi/elastic-data-stream-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 21
- target: $.paths['/_data_stream/{name}'].get
update:
x-apievangelist-phrasing:
intent: Get a named data stream
effect: read
questions:
- What backing indices and template does a particular data stream use?
- Can I get verbose details like maximum timestamp for one data stream?
instructions:
- text: Show data stream {name}.
slots:
name: path.name
- text: Get verbose details for data streams matching {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}'].put
update:
x-apievangelist-phrasing:
intent: Create a data stream
effect: write
questions:
- How do I create a data stream in Elasticsearch?
- Do I need a matching index template before creating a data stream?
instructions:
- text: Create data stream {name}.
slots:
name: path.name
- text: Make a new data stream called {name} from its matching template.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a data stream
effect: destructive
questions:
- Does deleting a data stream also remove its backing indices?
- Can I delete several data streams with a wildcard?
instructions:
- text: Delete data stream {name}.
slots:
name: path.name
- text: Remove data streams matching {name} and all their backing indices.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/_stats'].get
update:
x-apievangelist-phrasing:
intent: Get stats for all data streams
effect: read
questions:
- How much storage are all my data streams using?
- What's the max timestamp across my data streams?
instructions:
- text: Show stats for all data streams.
- text: Get store size and backing index counts for every data stream.
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_stats'].get
update:
x-apievangelist-phrasing:
intent: Get stats for a data stream
effect: read
questions:
- How large is one particular data stream on disk?
- How many backing indices does a given data stream have?
instructions:
- text: Show stats for data stream {name}.
slots:
name: path.name
- text: Get storage size of {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_lifecycle'].get
update:
x-apievangelist-phrasing:
intent: Get a data stream's lifecycle
effect: read
questions:
- What retention is configured on a data stream's lifecycle?
- Can I see default lifecycle values for a data stream?
instructions:
- text: Show the lifecycle for data stream {name}.
slots:
name: path.name
- text: Get retention and downsampling lifecycle config of {name} including defaults.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_lifecycle'].put
update:
x-apievangelist-phrasing:
intent: Set a data stream's retention lifecycle
effect: write
questions:
- How do I set how long data in a data stream is kept?
- Can I configure downsampling rounds in a data stream lifecycle?
instructions:
- text: Set data retention on {name} to {data_retention}.
slots:
name: path.name
data_retention: requestBody.data_retention
- text: Apply downsampling {downsampling} to the lifecycle of {name}.
slots:
downsampling: requestBody.downsampling
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_options'].get
update:
x-apievangelist-phrasing:
intent: Get data stream options
effect: read
questions:
- Is the failure store enabled on a data stream?
- What options are configured for a data stream?
instructions:
- text: Show options for data stream {name}.
slots:
name: path.name
- text: Check the failure store option on {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_options'].put
update:
x-apievangelist-phrasing:
intent: Configure a data stream's failure store
effect: write
questions:
- How do I enable the failure store on a data stream?
- Can I update options on several data streams at once?
instructions:
- text: Set the failure store of {name} to {failure_store}.
slots:
name: path.name
failure_store: requestBody.failure_store
- text: Enable failure store options on data stream {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_options'].delete
update:
x-apievangelist-phrasing:
intent: Remove data stream options
effect: destructive
questions:
- How do I remove the options configuration from a data stream?
- Does removing options turn off a data stream's failure store?
instructions:
- text: Delete the options on data stream {name}.
slots:
name: path.name
- text: Clear all data stream options from {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_downsample/{target_index}'].post
update:
x-apievangelist-phrasing:
intent: Downsample a time series index
effect: write
questions:
- How do I shrink a time series index by rolling up metrics?
- What fixed interval can I downsample a TSDS index to?
instructions:
- text: Downsample {index} into {target_index} at interval {fixed_interval}.
slots:
index: path.index
target_index: path.target_index
fixed_interval: requestBody.fixed_interval
- text: Roll up {index} to {target_index} with sampling method {sampling_method} every {fixed_interval}.
slots:
index: path.index
target_index: path.target_index
sampling_method: requestBody.sampling_method
fixed_interval: requestBody.fixed_interval
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_lifecycle/explain'].get
update:
x-apievangelist-phrasing:
intent: Explain an index's lifecycle status
effect: read
questions:
- Why hasn't my backing index rolled over yet?
- When was an index created and rolled over under its data stream lifecycle?
instructions:
- text: Explain the lifecycle status of {index}.
slots:
index: path.index
- text: Show lifecycle errors and rollover time for {index}.
slots:
index: path.index
method: generated
generated: '2026-11-17'
- target: $.paths['/_lifecycle/stats'].get
update:
x-apievangelist-phrasing:
intent: Get data stream lifecycle stats
effect: read
questions:
- How many data streams are managed by lifecycle and are any failing?
- How long did the last lifecycle run take?
instructions:
- text: Show data stream lifecycle stats.
- text: Report lifecycle run timing and managed stream counts.
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream'].get
update:
x-apievangelist-phrasing:
intent: List all data streams
effect: read
questions:
- Which data streams exist in my cluster?
- Can I include hidden data streams in the list?
instructions:
- text: List my data streams.
- text: List all data streams including hidden ones.
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_mappings'].get
update:
x-apievangelist-phrasing:
intent: Get data stream mappings
effect: read
questions:
- What mappings apply to a data stream, including overrides?
- Which field mappings has a data stream overridden from its template?
instructions:
- text: Show the mappings of data stream {name}.
slots:
name: path.name
- text: Get effective field mappings for {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_mappings'].put
update:
x-apievangelist-phrasing:
intent: Override a data stream's mappings
effect: write
questions:
- Can I add field mappings to one data stream without changing its template?
- Do mapping overrides apply to existing backing indices or only new ones?
instructions:
- text: Add mapping properties {properties} to data stream {name}.
slots:
properties: requestBody.properties
name: path.name
- text: Dry-run mapping override {properties} on {name}.
slots:
properties: requestBody.properties
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_settings'].get
update:
x-apievangelist-phrasing:
intent: Get data stream settings
effect: read
questions:
- What index settings does a data stream currently apply?
- Which settings were overridden on a data stream?
instructions:
- text: Show settings of data stream {name}.
slots:
name: path.name
- text: Get the effective index settings for {name}.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_settings'].put
update:
x-apievangelist-phrasing:
intent: Override a data stream's settings
effect: write
questions:
- Can I change replica count for one data stream without editing its template?
- Which settings can I override on a data stream in 8.19?
instructions:
- text: Set number of replicas to {number_of_replicas} on data stream {name}.
slots:
number_of_replicas: requestBody.number_of_replicas
name: path.name
- text: Change the refresh interval of {name} to {refresh_interval}.
slots:
name: path.name
refresh_interval: requestBody.refresh_interval
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/_migrate/{name}'].post
update:
x-apievangelist-phrasing:
intent: Convert an alias to a data stream
effect: write
questions:
- How do I turn an existing index alias into a data stream?
- What template does migrating an alias to a data stream require?
instructions:
- text: Migrate alias {name} to a data stream.
slots:
name: path.name
- text: Convert index alias {name} into a data stream.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/_modify'].post
update:
x-apievangelist-phrasing:
intent: Add or remove backing indices
effect: write
questions:
- Can I add an existing index to a data stream as a backing index?
- How do I perform several data stream modifications atomically?
instructions:
- text: 'Apply these data stream actions atomically: {actions}.'
slots:
actions: requestBody.actions
- text: Modify data stream backing indices with {actions}.
slots:
actions: requestBody.actions
method: generated
generated: '2026-11-17'
- target: $.paths['/_data_stream/_promote/{name}'].post
update:
x-apievangelist-phrasing:
intent: Promote a replicated data stream
effect: write
questions:
- How do I make a CCR-replicated data stream writable after failover?
- What happens when I promote a followed data stream?
instructions:
- text: Promote data stream {name}.
slots:
name: path.name
- text: Turn replicated data stream {name} into a regular writable one.
slots:
name: path.name
method: generated
generated: '2026-11-17'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-data-stream-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.