> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# E2B connector

- Connector: `appmixer.e2b`
- Version: 1.0.2
- Components: 16 (0 triggers, 16 actions)

E2B provides secure, isolated cloud sandboxes for running AI-generated code and commands. Create sandboxes, execute code and shell commands, transfer files, and manage the sandbox lifecycle.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/e2b>
- Download package: <https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/download>

## Authentication

**Type:** API Key

**Fields:**

- `API Key` (text): Log into your E2B account and create an API key at . API keys are team-scoped.

## Actions (16)

- [Create Sandbox](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.CreateSandbox.md) (`appmixer.e2b.core.CreateSandbox`): Create a new E2B sandbox from a template. Returns the sandbox ID used by the other components.
- [Find Sandboxes](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.FindSandboxes.md) (`appmixer.e2b.core.FindSandboxes`): Find E2B sandboxes, optionally filtered by state (running/paused). Returns a maximum of 100 sandboxes.
- [Get Sandbox](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.GetSandbox.md) (`appmixer.e2b.core.GetSandbox`): Retrieve details about a single E2B sandbox by its ID.
- [Get Sandbox Logs](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.GetSandboxLogs.md) (`appmixer.e2b.core.GetSandboxLogs`): Get the logs for an E2B sandbox.
- [Get Sandbox Metrics](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.GetSandboxMetrics.md) (`appmixer.e2b.core.GetSandboxMetrics`): Get CPU and memory usage metrics for a running E2B sandbox.
- [Kill Sandbox](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.KillSandbox.md) (`appmixer.e2b.core.KillSandbox`): Kill (terminate) an E2B sandbox by its ID. This is irreversible.
- [List Files](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.ListFiles.md) (`appmixer.e2b.core.ListFiles`): List the files and directories at a given path inside an E2B sandbox.
- [List Templates](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.ListTemplates.md) (`appmixer.e2b.core.ListTemplates`): List the sandbox templates available to your E2B team.
- [Make Api Call](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.MakeApiCall.md) (`appmixer.e2b.core.MakeApiCall`): Performs an arbitrary authorized API call to the E2B API.
- [Pause Sandbox](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.PauseSandbox.md) (`appmixer.e2b.core.PauseSandbox`): Pause a running E2B sandbox, preserving its state so it can be resumed later.
- [Resume Sandbox](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.ResumeSandbox.md) (`appmixer.e2b.core.ResumeSandbox`): Resume a previously paused E2B sandbox so it can be used again.
- [Run Code](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.RunCode.md) (`appmixer.e2b.core.RunCode`): 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 Command](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.RunCommand.md) (`appmixer.e2b.core.RunCommand`): Run a shell command inside an E2B sandbox and return its stdout, stderr and exit code.
- [Set Sandbox Timeout](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.SetSandboxTimeout.md) (`appmixer.e2b.core.SetSandboxTimeout`): Set a new timeout for a running E2B sandbox. The sandbox will be killed after the timeout elapses.
- [Upload File](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.UploadFile.md) (`appmixer.e2b.core.UploadFile`): Upload an Appmixer file into an E2B sandbox at the given path.
- [Download File](https://connectors.appmixer.com/connector/appmixer.e2b/1.0.2/component/appmixer.e2b.core.DownloadFile.md) (`appmixer.e2b.core.DownloadFile`): Download a file from an E2B sandbox and store it in the Appmixer file store.

## Changelog

### 1.0.2

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 1.0.1

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 1.0.0

- Initial version.
