Sandboxes
A sandbox is the isolated virtual machine where your AI agent executes its tasks.Sandbox Lifecycle
Runs surface current sandbox info inmetadata and thread metadata so that external clients can reattach to desktops (e.g. via VNC).
The sandboxStatus field transitions through the following states:
initializing→ provisioning requested, VM is bootingready→ desktop reachable;sandboxId&vncUrlare valid and ready to userestored→ an existing sandbox from a previous run was successfully reusedfailed→ provisioning failed; no desktop available
Extend Sandbox Lifetime
Sandboxes have a set lifetime to prevent runaway costs. You can extend the lifetime of a sandbox while it is running.POST /api/sandbox/extend
Body