Get snapshot information

  • GET /_cat/snapshots/{repository}
  • GET /_cat/snapshots

Get information about the snapshots stored in one or more repositories. 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.

  • Cluster privileges: monitor_snapshot

Path Parameters

repository union Name | [] Name optional

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.

Leave it out to use /_cat/snapshots.

Response