Optionalparams: SandboxExecParams & { mode?: "text" }Get tags (key-value pairs) currently attached to this Sandbox from the server.
Open a file in the Sandbox filesystem.
Path to the file to open
File open mode (r, w, a, r+, w+, a+)
Promise that resolves to a SandboxFile
Check if the Sandbox has finished running.
Returns null if the Sandbox is still running, else returns the exit code.
Set tags (key-value pairs) on the Sandbox. Tags can be used to filter results in Sandbox.list.
Get Tunnel metadata for the Sandbox.
Raises SandboxTimeoutError if the tunnels are not available after the timeout.
A dictionary of Tunnel objects which are keyed by the container port.
StaticfromStaticfromOptionalenvironment: stringUse client.sandboxes.fromName() instead.
StaticlistUse client.sandboxes.list() instead.
Sandboxes are secure, isolated containers in Modal that boot in seconds.