---
title: "Get a snapshot"
method: GET
path: "/api/v2/sandboxes/snapshots/{snapshot_id}"
tags: ["sandboxes"]
---

# Get a snapshot

`GET /api/v2/sandboxes/snapshots/{snapshot_id}`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v2/sandboxes/snapshots/{snapshot_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

Get a sandbox snapshot by ID or a registry-style reference, including system/default:latest. URL-encode references containing slashes. A bare name means name:latest, falling back to the newest ready untagged snapshot of that name. To list the tags under a name, use /api/v2/sandboxes/snapshots-by-name/{name}.

## Path parameters

- `snapshot_id` string, required

## Response `200`

OK

- SandboxesSnapshotResponse
  - `created_at` string
  - `created_by` string
  - `description` string: Description says what this snapshot's image can do, so a caller can hand it to an agent as a capability summary.
  - `docker_image` string
  - `fs_capacity_bytes` integer
  - `fs_used_bytes` integer
  - `id` string
  - `image_digest` string
  - `included` string[]: The settings this snapshot carries, in include terms: sandboxes created from it start with each one their create request leaves unset. Env var values are never returned.
  - `labels` SandboxesLabels
  - `memory_snapshot_size_bytes` integer: MemorySnapshotSizeBytes is non-nil iff the snapshot was captured with VM memory state. A non-nil value is the canonical signal that this snapshot can warm-restore from memory; nil means rootfs only.
  - `mount_config` SandboxesSandboxMountConfig (unresolved $ref)
  - `name` string
  - `proxy_config` SandboxesProxyConfig
    - `access_control` SandboxesAccessControl
      - `allow_list` string[]
      - `deny_list` string[]
    - `callbacks` SandboxesCallback[]
      - `full_request` boolean
      - `match_hosts` string[], required
      - `request_headers` SandboxesProxyHeader[]
        - `is_set` boolean
        - `name` string, required
        - `type` 'plaintext' | 'opaque' | 'workspace_secret', required
        - `value` string
      - `ttl_seconds` integer, required
      - `url` string, required
    - `description` string: Description says what this configuration as a whole lets the sandbox reach, complementing the per-rule descriptions. At most 1024 characters.
    - `no_proxy` string[]
    - `rules` SandboxesProxyRule[] (unresolved $ref)
  - `registry_id` string
  - `run_config` SandboxapiRunConfig
    - `env_vars` object
    - `user` string
    - `work_dir` string
  - `source_sandbox_id` string
  - `status` string
  - `status_message` string
  - `tags` string[]: Tags currently resolving to this snapshot, under Name. A snapshot with no tags is dangling — addressable only by id.
  - `updated_at` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-26** `dfe647d1748e`: 1 info
  - added the optional property `proxy_config/allOf[#/components/schemas/sandboxes.ProxyConfig]/rules/items/relay_id` to the response with the `200` status
- **2026-10-19** `9aeaab9f0a28`: 3 info
  - added the optional property `included` to the response with the `200` status
  - added the optional property `mount_config` to the response with the `200` status
  - added the optional property `proxy_config` to the response with the `200` status
- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v2/sandboxes/snapshots/:snapshot_id/get.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
