---
title: "Create a sandbox template from a verified preset"
method: POST
path: "/projects/{id}/sandboxes"
tags: ["Sandboxes"]
---

# Create a sandbox template from a verified preset

`POST /projects/{id}/sandboxes`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/sandboxes`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string, uuid, required

## Request body

- CreateSandboxTemplateRequest
  - `name` string, required
  - `preset` string, required: Preset ID from the available Sandbox preset catalog.
  - `memory_mb` 1024 | 2048

## Response `201`

Create a sandbox template from a verified preset

- SandboxTemplate
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `name` string, required
  - `preset` string
  - `memory_mb` integer
  - `status` 'ready' | 'unavailable' | 'deleting', required
  - `created_at` string, date-time, required

## Other responses

- `default`: Request refused or unavailable. Errors include invalid input (400), unauthenticated (401), forbidden (403), not found (404), conflicting retry (409), capacity exhausted (429), and temporarily unavailable (503). Code `feature_unavailable` with 404 means sandboxes are not available in this environment.

## Changes

- **2026-10-14** `d8d8f53d847b`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-10-05** `d350e7525428`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/sandboxes/post.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
