---
title: "List snapshots for a database"
method: GET
path: "/v2/databases/{databaseId}/snapshots"
tags: ["Database Snapshots"]
---

# List snapshots for a database

`GET /v2/databases/{databaseId}/snapshots`

Lists the stored snapshots for the given database. Cached for 30 minutes per (user, database).

## Path parameters

- `databaseId` string, required

## Response `200`

Snapshot list.

- object
  - `status` 'success', required
  - `response` Snapshot[], required
    - `name` string, required — Snapshot identifier (zip name without extension).
    - `size` integer, required — Snapshot size in bytes.
    - `modified` string, date-time, required
    - `key` string, required — Signed query string used to compose the snapshot download URL.

## Other responses

- `401` — The Authorization header is missing, malformed, or the credentials are not valid.
- `404` — The database does not exist or is not owned by the caller.
- `429` — The authenticated user or API key exceeded the global request budget.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
