Provisions a new sandbox VM through the orchestrator. The API waits until the VM
reports a guest IP address before returning — typically 1–5 seconds. The returned
object contains tokens and connection details needed by the SDK.
Template name to base the sandbox on. Becomes the sandbox name and is
prefixed with tpl- for the template_id. Defaults to an empty string
(which uses the default base image).Example: "base"
Auto-kill timeout in seconds. When the timeout expires the sandbox state is
set to killed and the VM is terminated. Pass 0 to disable auto-kill.Example: 300
Arbitrary key-value metadata stored with the sandbox. Useful for tagging
sandboxes by project, run ID, or agent name.Example: { "project": "my-agent", "run_id": "run-001" }
Resource allocation (vCPUs, memory, disk) is fixed at the template level —
the request-level resources field is currently rejected with HTTP 403. Use
templates to size sandboxes instead.
Full SecurityPolicy object (PII config, injection defense, transformation rules,
audit config). Passed as a JSON object and stored verbatim. See the
Security section for the complete schema.