---
title: "Create a box"
method: POST
path: "/boxes"
tags: ["box"]
---

# Create a box

`POST /boxes`

Create a box

## Request body

- CreateBoxDTO
  - `authToken` string
  - `cmd` string[]
  - `cpuQuota` integer
  - `entrypoint` string[]
  - `env` object
  - `fromVolumeId` string
  - `gpuQuota` integer
  - `id` string, required
  - `image` string, required
  - `memoryQuota` integer
  - `metadata` object
  - `networkAllowList` string
  - `networkBlockAll` boolean
  - `organizationId` string — Nullable for backward compatibility
  - `osUser` string, required
  - `otelEndpoint` string
  - `regionId` string
  - `registry` RegistryDTO
    - `password` string
    - `project` string
    - `url` string, required
    - `username` string
  - `runAsUser` string
  - `secrets` DtoSecretDTO[]
    - `hosts` string[]
    - `name` string, required
    - `placeholder` string
    - `value` string, required
  - `skipStart` boolean
  - `storageQuota` integer
  - `volumes` DtoVolumeDTO[]
    - `mountPath` string
    - `subpath` string
    - `volumeId` string
  - `workingDir` string

## Response `201`

Created

- StartBoxResponse
  - `daemonVersion` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

## Changes

> 9 revisions in range; 1 could not be searched.

- **2026-06-09** `6c7a14acacbf` — 1 info
  - endpoint added
- **2026-05-02** `6565d7237d5f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/boxlite-ai/apis/boxlite-runner-api/changes/boxes/post.md)

---

[API](https://skmtc.dev/boxlite-ai/apis/boxlite-runner-api.md) · [All operations](https://skmtc.dev/boxlite-ai/apis/boxlite-runner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/boxlite-ai/boxlite-runner-api/revisions/ddf7875fb7ed/schema)
