Returns information about the snapshots stored in one or more repositories Added in 2.1.0
A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
Path parameters
-
A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions.
_all
returns all repositories. If any repository fails during the request, Elasticsearch returns an error.
GET /_cat/snapshots/{repository}
curl \
-X GET http://api.example.com/_cat/snapshots/{repository}
Response examples (200)
[
{
"id": "string",
"repository": "string",
"status": "string",
"": 42.0,
"end_time": "string",
"duration": "string",
"indices": "string",
"successful_shards": "string",
"failed_shards": "string",
"total_shards": "string",
"reason": "string"
}
]