List snapshots, optionally filtered and paginated server-side.
The backend always paginates this endpoint. When limit is omitted the
server applies a default page size (currently 50), so a single call is
not guaranteed to return every snapshot visible to the tenant. To iterate
through all results, repeat the call with increasing offset values (or
an explicit limit) until fewer than limit snapshots come back.
listSnapshots(options: ListSnapshotsOptions = {}): Promise<Snapshot[]>| Name | Type | Description |
|---|---|---|
options | ListSnapshotsOptions | Default: {}Optional filter/pagination options.
Values outside those ranges are rejected by the server. |
const firstPage = await client.listSnapshots();
const page = await client.listSnapshots({
nameContains: "python",
limit: 100,
offset: 0,
});