Get aliases
Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases.
CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
Path parameters
-
A comma-separated list of aliases to retrieve. Supports wildcards (
*
). To retrieve all aliases, omit this parameter or use*
or_all
.
Query parameters
-
expand_wildcards string | array[string]
Whether to expand wildcard expression to concrete indices that are open, closed or both.
GET
/_cat/aliases/{name}
curl \
-X GET http://api.example.com/_cat/aliases/{name}
Response examples (200)
[
{
"alias": "string",
"index": "string",
"filter": "string",
"routing.index": "string",
"routing.search": "string",
"is_write_index": "string"
}
]