---
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

---

[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/22a3d45c511e/schema)
