---
title: "List all snapshots"
method: GET
path: "/sqlserver/v2/orgs/{orgID}/backupsets/{backupsetID}/snapshots"
tags: ["SQLServer"]
---

# List all snapshots

`GET /sqlserver/v2/orgs/{orgID}/backupsets/{backupsetID}/snapshots`

Returns snapshots for the specified backup set.

## Path parameters

- `orgID` integer, required
- `backupsetID` integer, required

## Query parameters

- `snapshotTypes` string
- `fromTime` string, date-time
- `toTime` string, date-time
- `sortOrder` 'ASC' | 'DESC'
- `pageToken` string

## Response `200`

Success

- SQLListSnapshotResponse — ListSnapshotResponse is the response schema for ListSnapshot API
  - `nextPageToken` string — The token to access the next page of results. This parameter will be empty for the last page of results.
  - `snapshots` SQLSnapshot[]
    - `createdAt` string — The creation date and time of the snapshot.
    - `name` string — The name of the snapshot.
    - `snapshotType` string — The type of the snapshot. The possible values for the snapshot type are: "HOT", "WARM", or "COLD".

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or the authentication token was expired.
- `403` — Forbidden
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in Cloud.

---

[API](https://skmtc.dev/druva/apis/authentication.md) · [All operations](https://skmtc.dev/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
