// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.snapshot.get({
  repository: "my_repository",
  snapshot: "snapshot*",
  size: 2,
  sort: "name",
  offset: 2,
});
console.log(response);
----
