---
title: "Create Sandbox"
method: POST
path: "/v1/sandboxes"
tags: ["V1 - Sandboxes"]
---

# Create Sandbox

`POST /v1/sandboxes`

## Request

- Base URL: `https://api.app.noxus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.noxus.ai/v1/sandboxes`
- Auth: API key in header `X-API-Key`

Create a sandbox owned by this workspace.

## Request body

- CreateSandboxIn
  - `label` string, nullable: Human-readable name for this sandbox.
  - `persistent` boolean: Keep the sandbox alive across idle periods instead of letting the reaper collect it.

## Response `200`

Successful Response

- SandboxOut
  - `id` string, required
  - `label` string, nullable
  - `status` string, required
  - `created_at` string, required
  - `last_activity` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noxus/apis/noxus-backend.md) - [All operations](https://skmtc.dev/noxus/apis/noxus-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/noxus/apis/noxus-backend/revisions/0e37810b7ad5?raw)
