Retrieves store information about replica shards in one or more indices
For data streams, the API retrieves store information for the stream’s backing indices.
Query parameters
-
allow_no_indices boolean
If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices.
-
expand_wildcards string | array[string]
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
-
status string | array[string]
List of shard health statuses used to limit the request.
GET /_shard_stores
curl \
-X GET http://api.example.com/_shard_stores
Response examples (200)
{
"indices": {
"additionalProperty1": {
"shards": {
"additionalProperty1": {
"stores": [
{}
]
},
"additionalProperty2": {
"stores": [
{}
]
}
}
},
"additionalProperty2": {
"shards": {
"additionalProperty1": {
"stores": [
{}
]
},
"additionalProperty2": {
"stores": [
{}
]
}
}
}
}
}