POST /sandboxes.
Core Request Shape
At minimum, a sandbox needs:nameworkspaceId- either
imageorsnapshotId
cpuMillismemoryMbgpuCountgpuTypemaxLifetimeSecondsonTtlExpiresecretRefsvolumeMountsenvargs
Common Creation Patterns
- Fresh container boot from
image - Fast restore from
snapshotId - Secret injection through
secretRefs - Shared storage through
volumeMounts - Automatic cleanup or snapshotting through
onTtlExpire
Related Endpoints
GET /sandboxesGET /sandboxes/{id}POST /sandboxes/{id}/startPOST /sandboxes/{id}/stopPOST /sandboxes/{id}/snapshots