---
title: dots.v2.snapshots.bySnapshot_id().get()
description: Retrieve an Existing Snapshot
product: Reference
url: https://docs.digitalocean.com/reference/dots/reference/snapshots/snapshots-get/
last_updated: "2026-11-25"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# dots.v2.snapshots.bySnapshot_id().get()

Generated on 25 Nov 2026 from DoTs version [`v1.27.0`](https://github.com/digitalocean/dots/releases/tag/v1.27.0)

## Usage

```typescript
client.v2.snapshots.bySnapshot_id(snapshot_id).get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithSnapshot_GetResponse>
```

## Description

To retrieve information about a snapshot, send a GET request to [`/v2/snapshots/{snapshot_id}`](https://docs.digitalocean.com/reference/api/reference/snapshots/index.html.md#snapshots_get).

The response will be a JSON object with a key called `snapshot`. The value of this will be an snapshot object containing the standard snapshot attributes.

## Parameters

`snapshot_id` integer or string required

Example: `6372321`

Either the ID of an existing snapshot. This will be an integer for a Droplet snapshot or a string for a volume snapshot.

## Request Sample

## Show Request Sample

```typescript
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.snapshots
    .bySnapshot_id(6372321).get();
```

## Response Example

## Show Response Example

```json
{
  "snapshot": {
    "id": "6372321",
    "name": "web-01-1595954862243",
    "created_at": "2020-07-28T16:47:44Z",
    "regions": [
      "nyc3",
      "sfo3"
    ],
    "min_disk_size": 25,
    "size_gigabytes": 2.34,
    "resource_id": "200776916",
    "resource_type": "droplet",
    "tags": [
      "web",
      "env:prod"
    ]
  }
}
```

## More Information

See [`/v2/snapshots/{snapshot_id}`](https://docs.digitalocean.com/reference/api/reference/snapshots/index.html.md#snapshots_get) in the API reference for additional detail on responses, headers, parameters, and more.