[[reference-snapshot-get]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.snapshot.get Returns information about a snapshot. {ref}/modules-snapshots.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (SnapshotGetRequest, options?): Promise ---- [discrete] ===== `SnapshotGetRequest` [source,ts] ---- interface SnapshotGetRequest extends <> { repository: <> snapshot: <> ignore_unavailable?: boolean master_timeout?: <> verbose?: boolean index_details?: boolean index_names?: boolean include_repository?: boolean sort?: SnapshotSnapshotSort size?: <> order?: <> after?: string offset?: <> from_sort_value?: string slm_policy_filter?: <> } ---- [discrete] ===== `SnapshotGetResponse` [source,ts] ---- interface SnapshotGetResponse { responses?: SnapshotGetSnapshotResponseItem[] snapshots?: SnapshotSnapshotInfo[] total: <> remaining: <> } ----