Get information about all currently running reindex tasks
Generally available; Added in 9.5.0
Ask AI
Reindex tasks that are mid-relocation between nodes are reported once, under their original task ID, so callers do not see duplicates across the relocation chain.
If the API returns a HTTP status of 200 OK, but node_failures or task_failures are non-empty in the body, the listing is not a complete authoritative listing and may be missing tasks.
GET
/_reindex
Console
GET _reindex
resp = client.list_reindex()
const response = await client.listReindex();
response = client.list_reindex
$resp = $client->listReindex();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_reindex"
Response examples (200)
One running task
A successful response from `GET _reindex` listing a single currently running reindex task.
{
"reindex": [
{
"id": "r1A2WoRbTwKZ516z6NEs5A:36619",
"start_time_in_millis": 1762190000000,
"running_time_in_nanos": 4200000000,
"cancelled": false
}
]
}
A successful response from `GET _reindex?detailed=true&human=true`, including the per-task `status` block.
{
"reindex": [
{
"id": "r1A2WoRbTwKZ516z6NEs5A:36619",
"description": "reindex from [my-source-index] to [my-dest-index]",
"start_time_in_millis": 1762190000000,
"start_time": "2025-11-03T17:13:20.000Z",
"running_time_in_nanos": 4200000000,
"running_time": "4.2s",
"cancelled": false,
"status": {
"batches": 4,
"deleted": 0,
"noops": 0,
"requests_per_second": -1.0,
"retries": {
"bulk": 0,
"search": 0
},
"throttled_millis": 0,
"throttled_until_millis": 0,
"total": 11500,
"updated": 0,
"version_conflicts": 0,
"created": 4000
}
}
]
}
`GET _reindex` always returns `200 OK`. If a node stops responding during the listing call, `node_failures` may be populated and tasks that were running on that node can be missing from `reindex` for that response. You may retry.
{
"reindex": [
{
"id": "r1A2WoRbTwKZ516z6NEs5A:36619",
"start_time_in_millis": 1762190000000,
"running_time_in_nanos": 4200000000,
"cancelled": false
}
],
"node_failures": [
{
"type": "failed_node_exception",
"reason": "Failed node [xNqz7mM2RkqY8vP1nL0wQ]",
"node_id": "xNqz7mM2RkqY8vP1nL0wQ",
"caused_by": {
"type": "node_not_connected_exception",
"reason": "Node not connected",
"node_id": "xNqz7mM2RkqY8vP1nL0wQ"
}
}
]
}