---
title: "Get a sandbox"
method: GET
path: "/v2/sandboxes/boxes/{name}"
tags: ["sandboxes"]
---

# Get a sandbox

`GET /v2/sandboxes/boxes/{name}`

Retrieve a sandbox by name. Stale provisioning sandboxes are auto-failed.

## Path parameters

- `name` string, required

## Response `200`

OK

- SandboxesSandboxResponse
  - `created_at` string
  - `created_by` string
  - `dataplane_url` string
  - `delete_after_stop_seconds` integer
  - `fs_capacity_bytes` integer
  - `id` string
  - `idle_ttl_seconds` integer
  - `mem_bytes` integer
  - `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
    - `no_proxy` string[]
    - `rules` SandboxesProxyRule[]
      - `enabled` boolean
      - `headers` SandboxesProxyHeader[]
        - `is_set` boolean
        - `name` string, required
        - `type` 'plaintext' | 'opaque' | 'workspace_secret', required
        - `value` string
      - `match_hosts` string[], required
      - `match_paths` string[]
      - `name` string, required
  - `size_class` string
  - `snapshot_id` string
  - `status` string
  - `status_message` string
  - `stopped_at` string
  - `updated_at` string
  - `updated_by` string
  - `vcpus` integer

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-05-27** `a0acb3a6a101` — 2 warning, 7 info
  - removed the optional property `expires_at` from the response with the `200` status
  - removed the optional property `ttl_seconds` from the response with the `200` status
  - added the optional property `created_by` to the response with the `200` status
  - added the optional property `delete_after_stop_seconds` to the response with the `200` status
  - …5 more
- **2026-04-30** `99490d1e837e` — 1 warning, 2 info
  - removed the optional property `template_name` from the response with the `200` status
  - added the optional property `proxy_config/callbacks` to the response with the `200` status
  - added the optional property `size_class` to the response with the `200` status
- **2026-04-13** `e86be67718ee` — 1 breaking, 6 info
  - removed the required property `proxy_config/rules/items/inject_headers` from the response with the `200` status
  - the endpoint scheme security `X-Service-Key` was added to the API
  - added the optional property `fs_capacity_bytes` to the response with the `200` status
  - added the optional property `mem_bytes` to the response with the `200` status
  - …3 more
- **2026-03-23** `aa05bc5a3c17` — 1 info
  - added the optional property `idle_ttl_seconds` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/v2/sandboxes/boxes/:name/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-service-production.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
