Elastic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elastic Indices API

105 actions 105 updates phrasing extends openapi/elastic-indices-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 105 · first 16 shown; the file carries all of them

$.info
$.paths['/{index}'].get
$.paths['/{index}'].put
$.paths['/{index}'].delete
$.paths['/{index}'].head
$.paths['/_component_template/{name}'].get
$.paths['/_component_template/{name}'].put
$.paths['/_component_template/{name}'].post
$.paths['/_component_template/{name}'].delete
$.paths['/_component_template/{name}'].head
$.paths['/_component_template'].get
$.paths['/_dangling/{index_uuid}'].post
$.paths['/_dangling/{index_uuid}'].delete
$.paths['/_dangling'].get
$.paths['/{index}/_block/{block}'].put
$.paths['/{index}/_block/{block}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Elastic Indices API
  version: 1.0.0
extends: openapi/elastic-indices-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: 104
- target: $.paths['/{index}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get information about an index
      effect: read
      questions:
      - How do I see the settings, mappings and aliases of an index?
      - Can I get index details for a data stream's backing indices?
      instructions:
      - text: Get full information about index {index}.
        slots:
          index: path.index
      - text: Show the mappings, settings and aliases of {index}.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create an index
      effect: write
      questions:
      - How do I create a new Elasticsearch index with custom mappings?
      - Can I set shard and replica settings when creating an index?
      instructions:
      - text: Create index {index}.
        slots:
          index: path.index
      - text: Create index {index} with mappings {mappings} and settings {settings}.
        slots:
          index: path.index
          mappings: requestBody.mappings
          settings: requestBody.settings
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an index
      effect: destructive
      questions:
      - How do I permanently delete an index and all its documents?
      - Is deleting an index reversible?
      instructions:
      - text: Delete index {index}.
        slots:
          index: path.index
      - text: Permanently remove the index {index} and its data.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check whether an index exists
      effect: read
      questions:
      - How can I quickly check if an index, alias or data stream exists?
      - Does an index with a given name already exist on my cluster?
      instructions:
      - text: Check whether index {index} exists.
        slots:
          index: path.index
      - text: Confirm that data stream or alias {index} is present.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a named component template
      effect: read
      questions:
      - How do I view a specific component template's definition?
      - What mappings and settings does a given component template contain?
      instructions:
      - text: Get component template {name}.
        slots:
          name: path.name
      - text: Show the definition of component template {name} including defaults.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a component template (PUT)
      effect: write
      questions:
      - How do I define a reusable component template with PUT?
      - Can I fail instead of overwriting an existing component template when using PUT?
      instructions:
      - text: Using PUT, save component template {name} with template {template}.
        slots:
          name: path.name
          template: requestBody.template
      - text: With PUT, create component template {name} only if new, version {version}.
        slots:
          name: path.name
          version: requestBody.version
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update a component template (POST)
      effect: write
      questions:
      - Can I create a component template via POST instead of PUT?
      - How do I mark a component template as deprecated via POST?
      instructions:
      - text: Via POST, save component template {name} with template {template}.
        slots:
          name: path.name
          template: requestBody.template
      - text: Via POST, update component template {name} and mark it deprecated {deprecated}.
        slots:
          name: path.name
          deprecated: requestBody.deprecated
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a component template
      effect: destructive
      questions:
      - How do I delete component templates I no longer use?
      - Can I remove a component template that index templates still reference?
      instructions:
      - text: Delete component template {name}.
        slots:
          name: path.name
      - text: Remove the component templates matching {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template/{name}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check whether a component template exists
      effect: read
      questions:
      - How do I check if a component template with a certain name exists?
      - Is there a component template matching a wildcard name?
      instructions:
      - text: Check whether component template {name} exists.
        slots:
          name: path.name
      - text: Confirm a component template named {name} is defined.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_component_template'].get
  update:
    x-apievangelist-phrasing:
      intent: List all component templates
      effect: read
      questions:
      - Which component templates are defined on my cluster?
      - Can I list every component template with its settings flattened?
      instructions:
      - text: List all component templates.
      - text: Show every component template in flat settings format.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_dangling/{index_uuid}'].post
  update:
    x-apievangelist-phrasing:
      intent: Import a dangling index
      effect: write
      questions:
      - How do I recover a dangling index that the cluster no longer knows about?
      - Do I have to accept data loss to import a dangling index?
      instructions:
      - text: Import dangling index {index_uuid}, accepting possible data loss.
        slots:
          index_uuid: path.index_uuid
      - text: Restore the dangling index with UUID {index_uuid} into the cluster.
        slots:
          index_uuid: path.index_uuid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_dangling/{index_uuid}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a dangling index
      effect: destructive
      questions:
      - How do I get rid of a dangling index I don't want to recover?
      - Can I delete a dangling index by its UUID?
      instructions:
      - text: Delete dangling index {index_uuid}.
        slots:
          index_uuid: path.index_uuid
      - text: Discard the dangling index {index_uuid} for good.
        slots:
          index_uuid: path.index_uuid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_dangling'].get
  update:
    x-apievangelist-phrasing:
      intent: List dangling indices
      effect: read
      questions:
      - Are there any dangling indices sitting on my nodes?
      - Which index UUIDs exist on disk but aren't part of the cluster?
      instructions:
      - text: List all dangling indices.
      - text: Show any orphaned index data found on cluster nodes.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_block/{block}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add a block to an index
      effect: write
      questions:
      - How do I make an index read-only or block writes?
      - Which kinds of blocks can I put on an index, like metadata or write?
      instructions:
      - text: Add a {block} block to index {index}.
        slots:
          block: path.block
          index: path.index
      - text: Block writes on {index} by adding block {block}.
        slots:
          index: path.index
          block: path.block
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_block/{block}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a block from an index
      effect: destructive
      questions:
      - How do I lift a write or read-only block from an index?
      - Can I remove a metadata block I added earlier?
      instructions:
      - text: Remove the {block} block from index {index}.
        slots:
          block: path.block
          index: path.index
      - text: Lift block {block} on {index} so it accepts changes again.
        slots:
          block: path.block
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_analyze'].get
  update:
    x-apievangelist-phrasing:
      intent: Analyze text with any analyzer (GET)
      effect: read
      questions:
      - How do I see the tokens an analyzer produces for some text with a GET request?
      - Can I test a built-in analyzer without targeting an index?
      instructions:
      - text: Using GET, tokenize {text} with analyzer {analyzer}.
        slots:
          text: requestBody.text
          analyzer: requestBody.analyzer
      - text: With a GET, run {text} through tokenizer {tokenizer} and explain the steps.
        slots:
          text: requestBody.text
          tokenizer: requestBody.tokenizer
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_analyze'].post
  update:
    x-apievangelist-phrasing:
      intent: Analyze text with any analyzer (POST)
      effect: read
      questions:
      - Can I POST text to the analyze endpoint to see its tokens without an index?
      - What tokens does a custom char filter and tokenizer chain produce when posted?
      instructions:
      - text: Via POST, analyze {text} using analyzer {analyzer}.
        slots:
          text: requestBody.text
          analyzer: requestBody.analyzer
      - text: POST {text} through tokenizer {tokenizer} with filters {filter}.
        slots:
          text: requestBody.text
          tokenizer: requestBody.tokenizer
          filter: requestBody.filter
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_analyze'].get
  update:
    x-apievangelist-phrasing:
      intent: Analyze text using an index's analyzer (GET)
      effect: read
      questions:
      - How do I check how a field in my index tokenizes text with a GET request?
      - Can I use an index's custom analyzer to preview tokens via GET?
      instructions:
      - text: Using GET, analyze {text} as field {field} of index {index} would.
        slots:
          text: requestBody.text
          field: requestBody.field
          index: path.index
      - text: With GET, tokenize {text} with analyzer {analyzer} defined on {index}.
        slots:
          text: requestBody.text
          analyzer: requestBody.analyzer
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_analyze'].post
  update:
    x-apievangelist-phrasing:
      intent: Analyze text using an index's analyzer (POST)
      effect: read
      questions:
      - Can I POST text to an index's analyze endpoint to test its field mapping?
      - How does a normalizer in my index transform a value when I post it?
      instructions:
      - text: Via POST, analyze {text} against field {field} in index {index}.
        slots:
          text: requestBody.text
          field: requestBody.field
          index: path.index
      - text: POST {text} to {index} using normalizer {normalizer}.
        slots:
          text: requestBody.text
          index: path.index
          normalizer: requestBody.normalizer
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_cache/clear'].post
  update:
    x-apievangelist-phrasing:
      intent: Clear caches for all indices
      effect: write
      questions:
      - How do I clear the query and request caches across every index?
      - Can I clear only the fielddata cache cluster-wide?
      instructions:
      - text: Clear the caches of all indices.
      - text: Clear only the fielddata cache on every index.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_cache/clear'].post
  update:
    x-apievangelist-phrasing:
      intent: Clear caches for a specific index
      effect: write
      questions:
      - Can I clear caches for just one index or data stream?
      - How do I flush the request cache of a particular index?
      instructions:
      - text: Clear the caches of index {index}.
        slots:
          index: path.index
      - text: Clear only the request cache for {index}.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_clone/{target}'].put
  update:
    x-apievangelist-phrasing:
      intent: Clone an index (PUT)
      effect: write
      questions:
      - How do I clone an existing index into a new one using PUT?
      - Does the source index need to be read-only before cloning with PUT?
      instructions:
      - text: Using PUT, clone index {index} into {target}.
        slots:
          index: path.index
          target: path.target
      - text: With PUT, clone {index} to {target} with settings {settings}.
        slots:
          index: path.index
          target: path.target
          settings: requestBody.settings
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_clone/{target}'].post
  update:
    x-apievangelist-phrasing:
      intent: Clone an index (POST)
      effect: write
      questions:
      - Can I clone an index via POST and add aliases to the copy?
      - How do I make an exact copy of an index with a POST request?
      instructions:
      - text: Via POST, clone index {index} into {target}.
        slots:
          index: path.index
          target: path.target
      - text: Via POST, clone {index} to {target} and attach aliases {aliases}.
        slots:
          index: path.index
          target: path.target
          aliases: requestBody.aliases
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_close'].post
  update:
    x-apievangelist-phrasing:
      intent: Close an index
      effect: write
      questions:
      - How do I close an index to stop reads and writes while keeping its data?
      - What happens to searches against an index after I close it?
      instructions:
      - text: Close index {index}.
        slots:
          index: path.index
      - text: Close {index} and wait for active shards.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_alias/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a named alias on an index
      effect: read
      questions:
      - How do I see the definition of a particular alias on an index?
      - Is a given alias pointing at this index, and with what filter?
      instructions:
      - text: Get alias {name} on index {index}.
        slots:
          name: path.name
          index: path.index
      - text: Show the filter and routing of alias {name} for {index}.
        slots:
          name: path.name
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_alias/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add an alias to an index (PUT /_alias)
      effect: write
      questions:
      - How do I add an alias to an index with PUT on the _alias path?
      - Can I make an alias the write index with PUT /_alias?
      instructions:
      - text: Using PUT /_alias, point alias {name} at index {index}.
        slots:
          name: path.name
          index: path.index
      - text: 'PUT /_alias: add alias {name} to {index} as write index {is_write_index}.'
        slots:
          name: path.name
          index: path.index
          is_write_index: requestBody.is_write_index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_alias/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an alias to an index (POST /_alias)
      effect: write
      questions:
      - Can I create a filtered alias with POST on the _alias path?
      - How do I set routing for an alias using POST /_alias?
      instructions:
      - text: Via POST /_alias, add alias {name} to {index} with filter {filter}.
        slots:
          name: path.name
          index: path.index
          filter: requestBody.filter
      - text: 'POST /_alias: create alias {name} on {index} routed by {routing}.'
        slots:
          name: path.name
          index: path.index
          routing: requestBody.routing
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_alias/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an alias (/_alias path)
      effect: destructive
      questions:
      - How do I remove an alias from an index using the _alias path?
      - Does deleting an alias via /_alias touch the underlying index data?
      instructions:
      - text: Delete alias {name} from index {index} via /_alias.
        slots:
          name: path.name
          index: path.index
      - text: Detach alias {name} from {index} using the _alias endpoint.
        slots:
          name: path.name
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_alias/{name}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check an alias exists on an index
      effect: read
      questions:
      - How do I check whether an alias is attached to a particular index?
      - Is a given alias already defined on this index?
      instructions:
      - text: Verify that index {index} has alias {name} attached.
        slots:
          name: path.name
          index: path.index
      - text: Confirm {index} carries the alias {name}.
        slots:
          index: path.index
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_aliases/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add an alias to an index (PUT /_aliases)
      effect: write
      questions:
      - Can I add an alias using PUT on the plural _aliases path?
      - How do I set separate search routing for an alias with PUT /_aliases?
      instructions:
      - text: Using PUT /_aliases, add alias {name} to index {index}.
        slots:
          name: path.name
          index: path.index
      - text: 'PUT /_aliases: alias {name} on {index} with search routing {search_routing}.'
        slots:
          name: path.name
          index: path.index
          search_routing: requestBody.search_routing
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_aliases/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an alias to an index (POST /_aliases)
      effect: write
      questions:
      - Can I add an alias to one index by POSTing to the plural _aliases path?
      - How do I set index routing for an alias with POST /_aliases?
      instructions:
      - text: Via POST /_aliases, add alias {name} to index {index}.
        slots:
          name: path.name
          index: path.index
      - text: 'POST /_aliases: alias {name} on {index} with index routing {index_routing}.'
        slots:
          name: path.name
          index: path.index
          index_routing: requestBody.index_routing
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_aliases/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an alias (/_aliases path)
      effect: destructive
      questions:
      - How do I delete an alias using the plural _aliases path on an index?
      - Can I remove several aliases from an index via /_aliases?
      instructions:
      - text: Delete alias {name} from index {index} via /_aliases.
        slots:
          name: path.name
          index: path.index
      - text: Remove aliases matching {name} from {index} using the _aliases endpoint.
        slots:
          name: path.name
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_data_stream/{name}/_lifecycle'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a data stream's lifecycle
      effect: destructive
      questions:
      - How do I remove the lifecycle (retention) settings from a data stream?
      - Can I stop a data stream from being managed by its data lifecycle?
      instructions:
      - text: Delete the lifecycle of data stream {name}.
        slots:
          name: path.name
      - text: Stop lifecycle management for data streams matching {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_index_template/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a named index template
      effect: read
      questions:
      - How do I view one composable index template's definition?
      - Which patterns and component templates does a given index template use?
      instructions:
      - text: Get index template {name}.
        slots:
          name: path.name
      - text: Show the patterns and composed_of list of index template {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_index_template/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update an index template (PUT)
      effect: write
      questions:
      - How do I create a composable index template with PUT?
      - Can I make an index template create data streams, using PUT?
      instructions:
      - text: Using PUT, create index template {name} for patterns {index_patterns}.
        slots:
          name: path.name
          index_patterns: requestBody.index_patterns
      - text: With PUT, save template {name} composed of {composed_of} at priority {priority}.
        slots:
          name: path.name
          composed_of: requestBody.composed_of
          priority: requestBody.priority
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_index_template/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update an index template (POST)
      effect: write
      questions:
      - Can I define a composable index template via POST?
      - How do I enable data streams on an index template using POST?
      instructions:
      - text: Via POST, create index template {name} matching {index_patterns}.
        slots:
          name: path.name
          index_patterns: requestBody.index_patterns
      - text: Via POST, save template {name} with data stream config {data_stream}.
        slots:
          name: path.name
          data_stream: requestBody.data_stream
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_index_template/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an index template
      effect: destructive
      questions:
      - How do I delete a composable index template?
      - Does deleting an index template affect indices already created from it?
      instructions:
      - text: Delete index template {name}.
        slots:
          name: path.name
      - text: Remove the composable index templates matching {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_index_template/{name}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check whether an index template exists
      effect: read
      questions:
      - How can I check whether a composable index template exists?
      - Is there an index template already defined with this name?
      instructions:
      - text: Check whether index template {name} exists.
        slots:
          name: path.name
      - text: Confirm the composable template {name} is defined.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_template/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a named legacy index template
      effect: read
      questions:
      - How do I view one of the old-style legacy index templates?
      - What settings does a particular legacy template apply?
      instructions:
      - text: Get legacy index template {name}.
        slots:
          name: path.name
      - text: Show the mappings and settings of legacy template {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_template/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a legacy template (PUT)
      effect: write
      questions:
      - How do I create a legacy index template with PUT?
      - Can I set the order of a legacy template when using PUT?
      instructions:
      - text: Using PUT, create legacy template {name} for patterns {index_patterns}.
        slots:
          name: path.name
          index_patterns: requestBody.index_patterns
      - text: With PUT, save legacy template {name} with order {order} and settings {settings}.
        slots:
          name: path.name
          order: requestBody.order
          settings: requestBody.settings
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_template/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update a legacy template (POST)
      effect: write
      questions:
      - Can I create a legacy index template via POST?
      - How do I add aliases to a legacy template using POST?
      instructions:
      - text: Via POST, create legacy template {name} matching {index_patterns}.
        slots:
          name: path.name
          index_patterns: requestBody.index_patterns
      - text: Via POST, save legacy template {name} with mappings {mappings}.
        slots:
          name: path.name
          mappings: requestBody.mappings
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_template/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a legacy index template
      effect: destructive
      questions:
      - How do I delete an old legacy index template?
      - Can I remove a legacy template without touching composable ones?
      instructions:
      - text: Delete legacy index template {name}.
        slots:
          name: path.name
      - text: Remove the legacy template {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_template/{name}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check whether a legacy template exists
      effect: read
      questions:
      - How do I check if a legacy index template is still defined?
      - Does a legacy template with this name exist on the cluster?
      instructions:
      - text: Check whether legacy template {name} exists.
        slots:
          name: path.name
      - text: Confirm the legacy index template {name} is present.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_disk_usage'].post
  update:
    x-apievangelist-phrasing:
      intent: Analyze an index's disk usage
      effect: read
      questions:
      - How much disk space does each field in my index use?
      - Can I break down an index's storage by field?
      instructions:
      - text: Analyze disk usage per field for index {index}.
        slots:
          index: path.index
      - text: Show the storage breakdown of {index}, running the expensive analysis.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_alias/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Find an alias across all indices
      effect: read
      questions:
      - Which indices does a particular alias point to?
      - How do I look up an alias by name without knowing its index?
      instructions:
      - text: Find which indices alias {name} points to.
        slots:
          name: path.name
      - text: Look up alias {name} across every index.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_alias/{name}'].head
  update:
    x-apievangelist-phrasing:
      intent: Check whether an alias exists anywhere
      effect: read
      questions:
      - How do I check if an alias exists on any index in the cluster?
      - Is an alias name already taken cluster-wide?
      instructions:
      - text: Tell me if alias {name} is in use anywhere in the cluster.
        slots:
          name: path.name
      - text: Confirm alias {name} is defined somewhere in the cluster.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_field_usage_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get field usage statistics
      effect: read
      questions:
      - Which fields in my index are actually being queried or aggregated?
      - Can I find unused fields in an index to slim its mapping?
      instructions:
      - text: Show field usage stats for index {index}.
        slots:
          index: path.index
      - text: Report how often each field in {index} is used.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_flush'].get
  update:
    x-apievangelist-phrasing:
      intent: Flush all indices (GET)
      effect: write
      questions:
      - Can I trigger a flush of every index with a plain GET request?
      - How do I persist all in-memory operations to disk cluster-wide using GET?
      instructions:
      - text: Using GET, flush all indices.
      - text: Issue a GET flush across every index and wait if one is ongoing.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_flush'].post
  update:
    x-apievangelist-phrasing:
      intent: Flush all indices (POST)
      effect: write
      questions:
      - How do I flush every index and data stream with a POST request?
      - Can I force a flush cluster-wide even if nothing needs committing?
      instructions:
      - text: Via POST, flush all indices.
      - text: POST a forced flush to every index in the cluster.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/{index}/_flush'].get
  update:
    x-apievangelist-phrasing:
      intent: Flush a specific index (GET)
      effect: write
      questions:
      - Can I flush one index to disk using a GET request?
      - How do I commit a single data stream's transaction log via GET?
      instructions:
      - text: Using GET, flush index {index}.
        slots:
          index: path.index
      - text: Issue a GET flush on {index} and wait if one is already running.
        slots:
          index: path.index
      method: generated
      generated: '2026-11-17'


# --- truncated at 32 KB (62 KB total) ---
# Full source: https://artifacts.apis.io/elastic/overlays/elastic-indices-api-phrasing-overlay.yaml

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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-indices-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.