API reference
Start a sandbox
View MarkdownPOST/sandboxes/start
Request body
application/json
| Field | Type | Description |
|---|---|---|
env | object | |
gatedFeatures | object | GatedFeatures contains optional feature settings restricted to administrators. |
image_id | string | ImageID optionally selects a READY organization-owned container image. When omitted, the sandbox is a Firecracker VM without a container. |
lifetimeRequired | thundertypes.SandboxLifetime | |
name | string | Name is an optional label. It must be free of any other live sandbox in the organization and defaults to the assigned ID. It never addresses a sandbox: requests are made by ID. |
network_policyRequired | thundertypes.SandboxNetworkPolicy | |
queue | boolean | Queue waits for capacity without a scheduling timeout. Runtime TTL starts at readiness. |
specRequired | thundertypes.SandboxResourceSpec | |
workspace_id | string |
Responses
202 · Accepted
| Field | Type | Description |
|---|---|---|
idRequired | string | |
nameRequired | string | |
workspace_id | string |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
403 · Forbidden
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
409 · The sandbox would exceed one of the organization's quotas
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string | |
quota | thundertypes.QuotaExceeded |
503 · The organization's quotas could not be checked, or concurrent changes kept the request from committing; retry
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.