---
title: "List All Snapshots"
method: GET
path: "/v2/snapshots"
tags: ["DigitalOcean-public.v2-new_Snapshots"]
---

# List All Snapshots

`GET /v2/snapshots`

To list all of the snapshots available on your account, send a GET request to
`/v2/snapshots`.

The response will be a JSON object with a key called `snapshots`. This will be
set to an array of `snapshot` objects, each of which will contain the standard
snapshot attributes.

### Filtering Results by Resource Type

It's possible to request filtered results by including certain query parameters.

#### List Droplet Snapshots

To retrieve only snapshots based on Droplets, include the `resource_type`
query parameter set to `droplet`. For example, `/v2/snapshots?resource_type=droplet`.

#### List Volume Snapshots

To retrieve only snapshots based on volumes, include the `resource_type`
query parameter set to `volume`. For example, `/v2/snapshots?resource_type=volume`.

## Query parameters

- `per_page` integer
- `page` integer
- `resource_type` 'droplet' | 'volume'

## Response `200`

A JSON object with a key of `snapshots`.

- object
  - `snapshots` Snapshots[]
    - `id` string, required — The unique identifier for the snapshot.
    - `name` string, required — A human-readable name for the snapshot.
    - `created_at` string, date-time, required — A time value given in ISO8601 combined date and time format that represents when the snapshot was created.
    - `regions` string[], required — An array of the regions that the snapshot is available in. The regions are represented by their identifying slug values.
    - `min_disk_size` integer, required — The minimum size in GB required for a volume or Droplet to use this snapshot.
    - `size_gigabytes` number, float, required — The billable size of the snapshot in gigabytes.
    - `resource_id` string, required — The unique identifier for the resource that the snapshot originated from.
    - `resource_type` 'droplet' | 'volume', required — The type of resource that the snapshot originated from.
    - `tags` string[], nullable, required — An array of Tags the snapshot has been tagged with.<br><br>Requires `tag:read` scope.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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