---
title: "[Beta] Clone a volume"
method: POST
path: "/api/v2/sandboxes/volumes/{volume}/clone"
tags: ["sandboxes"]
---

# \[Beta\] Clone a volume

`POST /api/v2/sandboxes/volumes/{volume}/clone`

## Request

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

**Beta:** This API is in active development and may change without notice. Requires sandbox volumes to be enabled for your workspace. Create a new volume holding a copy-on-write copy of an existing one. A volume attached read-write to a sandbox that is not stopped cannot be cloned. Only the volume's creator, or a role with sandboxes:exec, may clone it.

## Path parameters

- `volume` string, required

## Request body

- SandboxesCloneVolumePayload
  - `description` string
  - `labels` SandboxesLabels
  - `name` string, required: Name of the new volume, unique within the workspace.

## Response `201`

Created

- SandboxesVolumeResponse
  - `attachments` SandboxesVolumeAttachmentResponse[]
    - `mount_path` string
    - `read_only` boolean
    - `sandbox_id` string
    - `sandbox_name` string
  - `created_at` string, date-time
  - `created_by` string
  - `description` string
  - `id` string
  - `labels` SandboxesLabels
  - `name` string
  - `size_bytes` integer
  - `source_volume_id` string
  - `status` string
  - `status_message` string
  - `updated_at` string, date-time
  - `updated_by` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: the name exists, or the source is not ready or is in use read-write
- `500`: Internal Server Error

## Changes

- **2026-10-26** `dfe647d1748e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v2/sandboxes/volumes/:volume/clone/post.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)
