Get the status of a migration reindex attempt for a data stream or index.
GET /_migration/reindex/{index}/_status
Console
GET /_migration/reindex/my-data-stream/_status resp = client.perform_request( "GET", "/_migration/reindex/my-data-stream/_status", ) const response = await client.transport.request({ method: "GET", path: "/_migration/reindex/my-data-stream/_status", }); response = client.perform_request( "GET", "/_migration/reindex/my-data-stream/_status", {}, ) $requestFactory = Psr17FactoryDiscovery::findRequestFactory(); $request = $requestFactory->createRequest( "GET", "/_migration/reindex/my-data-stream/_status", ); $resp = $client->sendRequest($request); curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_migration/reindex/my-data-stream/_status" client.indices().getMigrateReindexStatus(g -> g .index("my-data-stream") );