Searchable snapshot repository statistics APIedit

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

Retrieve usage statistics about a snapshot repository.


GET /_snapshot/<repository>/_stats


If the Elasticsearch security features are enabled, you must have the manage cluster privilege and the manage index privilege for any included indices to use this API. For more information, see Security privileges.


Path parametersedit

(Required, string) The repository for which to retrieve stats.


Retrieves the statistics of the repository my_repository:

GET /_snapshot/my_repository/_stats