Prerequisites
- A running StacyVM server.
X-API-Keywhen auth is enabled.X-User-IDwhen you want explicit tenant attribution.
Create A Sandbox
string
Runtime image to start, such as
python:3.12 for Docker.string
Provider override. Omit this to use the server default.
integer
Requested memory limit in megabytes.
integer
Requested virtual CPU count.
string
Auto-destroy duration using Go duration syntax, such as
10m or 1h30m.object
String key-value labels stored with the sandbox.
Success Response
string
Unique sandbox ID used by exec, file, preview, and destroy endpoints.
string
Current lifecycle state, usually
running after a successful create.string
UTC timestamp when TTL cleanup should destroy the sandbox.

