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.
Query parameters
-
master_timeout string
Period to wait for a connection to the master node.
-
time string
Unit used to display time values.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
.
GET
/_cat/snapshots
curl \
-X GET http://api.example.com/_cat/snapshots
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"
}
]