Skip to main content

Sandbox APIs

The Tensorlake Sandbox API lets you create isolated runtimes, inspect their state, update public ingress settings, snapshot running sandboxes, restore new sandboxes from snapshots, and suspend or resume them.

Create Sandbox

Launch a sandbox for the current project.

Snapshot Sandbox

Capture the current filesystem and memory state of a running sandbox.

Restore Sandbox

Start a new sandbox from a previously created snapshot.

Sandbox Runtime APIs

The sandbox proxy also exposes runtime endpoints for each running sandbox. These requests are routed through the sandbox proxy to the daemon inside the sandbox.

Process Management

Start processes, inspect status, send signals, write stdin, and stream output from a sandbox.

Runtime Metadata

Check sandbox daemon health and inspect runtime process counts.

PTY Sessions

Create interactive terminal sessions and attach over WebSocket.

Sandbox Files

Read, write, delete, and list files through the sandbox proxy.

TCP Tunnels

Relay raw TCP bytes to a sandbox-local port over WebSocket.

SSH Lifecycle

Inspect or manage the in-sandbox SSH daemon used by Tensorlake’s SSH proxy.