[[reference-ml-get_model_snapshots]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || 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.ml.getModelSnapshots Get model snapshots info. {ref}/ml-get-snapshot.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (MlGetModelSnapshotsRequest, options?): Promise ---- [discrete] ===== `MlGetModelSnapshotsRequest` [source,ts] ---- interface MlGetModelSnapshotsRequest extends <> { job_id: <> snapshot_id?: <> from?: <> size?: <> desc?: boolean end?: <> page?: MlPage sort?: <> start?: <> } ---- [discrete] ===== `MlGetModelSnapshotsResponse` [source,ts] ---- interface MlGetModelSnapshotsResponse { count: <> model_snapshots: MlModelSnapshot[] } ----