Start or resume reindex APIedit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Start a new reindex or resume a paused reindex.

Start a new reindex or resume a paused reindex.

Requestedit

POST <kibana host>:<port>/api/upgrade_assistant/reindex/myIndex

Response codeedit

200
Indicates a successful call.

Exampleedit

The API returns the following:

{
  "indexName": ".ml-state",
  "newIndexName": ".reindexed-v7-ml-state", 
  "status": 0, 
  "lastCompletedStep": 0, 
  "reindexTaskId": null, 
  "reindexTaskPercComplete": null, 
  "errorMessage": null 
}

The name of the new index.

The reindex status. For more information, refer to Status codes.

The last successfully completed step of the reindex. For more information, refer to Step codes.

The task ID of the reindex task in Elasticsearch. Appears when the reindexing starts.

The progress of the reindexing task in Elasticsearch. Appears in decimal form, from 0 to 1.

The error that caused the reindex to fail, if it failed.