---
title: "Create a sandbox claim"
method: POST
path: "/v2/sandboxes/boxes"
tags: ["sandboxes"]
---

# Create a sandbox claim

`POST /v2/sandboxes/boxes`

Create a new sandbox from a template. Optionally blocks until ready or timeout.

## Request body

- SandboxesCreateClaimPayload
  - `name` string
  - `template_name` string, required
  - `timeout` integer
  - `wait_for_ready` boolean

## Response `201`

Created

- SandboxesClaimResponse
  - `created_at` string
  - `dataplane_url` string
  - `id` string
  - `name` string
  - `status` string
  - `status_message` string
  - `template_name` string
  - `updated_at` string

## Other responses

- `400` — Template not found
- `408` — Sandbox did not become ready in time
- `409` — Name already exists or volume conflict
- `422` — Validation error or creation failed
- `429` — Quota exceeded
- `500` — Internal Server Error

## Changes

- **2026-03-19** `7bbcecd856b2` — 1 warning
  - removed the optional property `proxy_config` from the response with the `201` status
- **2026-03-19** `7099ceca2401` — 1 info
  - added the optional property `proxy_config/access_control` to the response with the `201` status
- **2026-03-17** `59a955354a01` — 2 breaking
  - the response property `proxy_config/rules` became optional for the status `201`
  - the `proxy_config/rules` response property's minItems was decreased from `1` to `0` for the response status `201`
- **2026-03-17** `e2fb935dc434` — 1 info
  - added the optional property `proxy_config` to the response with the `201` status

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