rt.sandbox is the programmatic way to spin up, drive, and tear down sandboxes. create() hands you a live Sandbox object you can exec against, subscribe to for status and metrics, and pause or destroy when you’re done.
Create
SandboxCreateOptions
Workspace mount paths must be
/workspace or a subpath under /workspace. When an agent uses this sandbox, the mounted workspace is persistent filesystem state the agent can carry across runs.
List
status, tags, template, exclude_template, limit, cursor, and admin-only all.
Get an Instance
get() returns a local Sandbox object. It does not fetch immediately; methods and subscriptions use the API.