Elastic Migration API

The migration APIs power Kibana's Upgrade Assistant feature.

GitHub OpenAPI

Operations 9

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

POST /_migration/reindex/{index}/_cancel Cancel a migration reindex · Cancel a migration reindex operation #
Ask an LLM
“How do I cancel a data stream migration reindex that's in progress?”
“Can I stop the upgrade reindex of a data stream's backing indices?”
Tell an agent destructive · confirm first
Cancel the migration reindex for data stream {index}.
Stop upgrading the backing indices of {index}.
PUT /_create_from/{source}/{dest} Create an index from a source index (PUT) · Create an index from a source index #
Ask an LLM
“How do I create a new index copying settings and mappings from an existing one using PUT?”
“Can I override mappings when creating an index from a source with PUT?”
Tell an agent
Using PUT, create index {dest} from source index {source}.
With PUT, create {dest} from {source} overriding settings with {settings_override}.
POST /_create_from/{source}/{dest} Create an index from a source index (POST) · Create an index from a source index #
Ask an LLM
“Can I copy an existing index's settings into a new index via POST?”
“Is it possible to remove index blocks when creating an index from a source via POST?”
Tell an agent
Via POST, create index {dest} based on {source}.
Via POST, create {dest} from {source} with mappings override {mappings_override}.
GET /_migration/reindex/{index}/_status Check migration reindex status · Get the migration reindexing status #
Ask an LLM
“How far along is the migration reindex of my data stream?”
“Can I see whether the backing-index upgrade for a data stream has finished?”
Tell an agent
Show the migration reindex status for {index}.
Check progress of upgrading backing indices for data stream {index}.
POST /_migration/reindex Reindex legacy data stream backing indices · Reindex legacy backing indices #
Ask an LLM
“How do I upgrade old backing indices of a data stream to the current version?”
“Can I start a migration reindex for a data stream before upgrading Elasticsearch?”
Tell an agent
Start a migration reindex of {source} in mode {mode}.
Upgrade the legacy backing indices of data stream {source} using mode {mode}.
GET /_migration/deprecations List cluster deprecation warnings · Get deprecation information #
Ask an LLM
“What deprecated settings or features is my cluster using before an upgrade?”
“Which deprecation issues must I fix cluster-wide before moving to the next major version?”
Tell an agent
List all deprecation warnings for the cluster.
Show the cluster-wide upgrade blockers from deprecated features.
GET /{index}/_migration/deprecations List deprecation warnings for an index · Get deprecation information #
Ask an LLM
“Does a specific index use deprecated settings that block an upgrade?”
“How do I check one index for deprecation issues?”
Tell an agent
List deprecation warnings for index {index}.
Check index {index} for deprecated features before upgrading.
GET /_migration/system_features Check system feature migration status · Get feature migration information #
Ask an LLM
“Do any system features need migrating before I upgrade the cluster?”
“What is the migration status of my system indices?”
Tell an agent
Show which system features need migration.
Check the status of the system feature upgrade.
POST /_migration/system_features Start migrating system features · Start the feature migration #
Ask an LLM
“How do I start migrating system indices ahead of a major upgrade?”
“Can I kick off the system feature upgrade from the API?”
Tell an agent
Start the system feature migration.
Begin upgrading all system indices that need migration.

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-migration-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-migration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Migration 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 (579 KB total) ---
# Full source: https://artifacts.apis.io/elastic/openapi/elastic-migration-api-openapi.yml