---
title: "GET /sites/{site_id}/database/snapshots"
method: GET
path: "/sites/{site_id}/database/snapshots"
tags: ["database"]
---

# GET /sites/{site_id}/database/snapshots

`GET /sites/{site_id}/database/snapshots`

Returns all snapshots for the site's database.

## Response `200`

OK

- DatabaseSnapshotsResponse — Response containing a list of database snapshots
  - `snapshots` DatabaseSnapshot[] — List of database snapshots
    - `id` string — The unique identifier of the snapshot
    - `source_branch_id` string — The ID of the branch that was snapshotted
    - `manual` boolean — Whether this snapshot was manually created
    - `created_at` string, dateTime — When the snapshot was created
    - `expires_at` string, dateTime — When the snapshot expires
    - `timestamp` string, dateTime — The point-in-time timestamp of the snapshot
    - `metadata` DatabaseSnapshotMetadata — Metadata associated with a snapshot
      - `deploy` object — Deploy information associated with the snapshot
      - `source` string — The source that created the snapshot

## Other responses

- `default` — error

---

[API](https://skmtc.net/netlify/apis/netlify-s-api-documentation.md) · [All operations](https://skmtc.net/netlify/apis/netlify-s-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netlify/netlify-s-api-documentation/versions/71540d1b5d9d/schema)
