Create a new E2B sandbox from a template. Returns the sandbox ID used by the other components.
Find E2B sandboxes, optionally filtered by state (running/paused). Returns a maximum of 100 sandboxes.
Retrieve details about a single E2B sandbox by its ID.
Get the logs for an E2B sandbox.
Get CPU and memory usage metrics for a running E2B sandbox.
Kill (terminate) an E2B sandbox by its ID. This is irreversible.
List the files and directories at a given path inside an E2B sandbox.
List the sandbox templates available to your E2B team.
Performs an arbitrary authorized API call to the E2B API.
Pause a running E2B sandbox, preserving its state so it can be resumed later.
Resume a previously paused E2B sandbox so it can be used again.
Execute code (Python, JavaScript and more) inside an E2B sandbox using the code interpreter and return the output. The sandbox must be created from the code-interpreter-v1 template (or a custom template based on it).
Run a shell command inside an E2B sandbox and return its stdout, stderr and exit code.
Set a new timeout for a running E2B sandbox. The sandbox will be killed after the timeout elapses.
Upload an Appmixer file into an E2B sandbox at the given path.
Download a file from an E2B sandbox and store it in the Appmixer file store.