E2B website screenshot

E2B

E2B provides secure, isolated sandbox runtimes for AI-generated and agent-driven code, built on Firecracker microVMs that cold-start in under 200ms. The platform's Code Interpreter, AI Sandboxes, and Desktop Sandbox products let LLMs execute Python, JavaScript, Ruby, C++ and other languages with full filesystem, terminal, package management, and browser access for sessions up to 24 hours. Customers include AI labs, agent startups, data teams, and enterprises building code interpreters, deep-research agents, data analysis features, and computer-use agents. SDKs are available for Python and TypeScript and integrate with OpenAI, Anthropic, Mistral, Llama, LangChain, LlamaIndex, and the Vercel AI SDK. Pricing is freemium with Pro and Enterprise tiers and a startups program.

1 APIs 0 Features
Code InterpreterSandboxesSecure ExecutionAI AgentsFirecrackermicroVMsCode ExecutionData AnalysisDesktop SandboxComputer UseCustom TemplatesPythonTypeScript

APIs

E2B Sandbox API

The E2B Sandbox API creates and controls per-agent Linux microVMs that can run arbitrary code, install packages, read and write files, stream terminal output, and host headless ...

Collections

Pricing Plans

E2B Plans Pricing

1 plans

PLANS

Rate Limits

E2B Rate Limits

2 limits

RATE LIMITS

FinOps

E2B Finops

FINOPS

Resources

🔗
Website
Website
🔗
Documentation
Documentation
📰
Blog
Blog
👥
GitHubOrganization
GitHubOrganization
💰
Pricing
Pricing
📝
Signup
Signup
🔗
Discord
Discord
🔗
Twitter
Twitter
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: E2B Sandbox API
  version: 1.0.0
request:
  auth:
    type: apikey
    key: X-API-Key
    value: '{{X-API-Key}}'
    placement: header
items:
- info:
    name: List sandboxes
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes
    params:
    - name: metadata
      value: ''
      type: query
      description: URL-encoded key=value pairs to filter sandboxes by metadata.
  docs: List sandboxes
- info:
    name: Create a sandbox
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes
    body:
      type: json
      data: '{}'
  docs: Create a sandbox
- info:
    name: Get sandbox
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Get sandbox
- info:
    name: Terminate a sandbox
    type: http
  http:
    method: DELETE
    url: https://api.e2b.dev/sandboxes/:sandboxID
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Terminate a sandbox
- info:
    name: Pause a sandbox
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/pause
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Pause a sandbox
- info:
    name: Resume a paused sandbox
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/resume
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Resume a paused sandbox
- info:
    name: Set sandbox timeout
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/timeout
    params:
    - name: sandboxID
      value: ''
      type: path
    body:
      type: json
      data: '{}'
  docs: Set sandbox timeout
- info:
    name: Get sandbox logs
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID/logs
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Get sandbox logs
- info:
    name: Get sandbox metrics
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID/metrics
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: Get sandbox metrics
- info:
    name: Upload a file into the sandbox
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/files/upload
    params:
    - name: sandboxID
      value: ''
      type: path
    - name: path
      value: ''
      type: query
  docs: Upload a file into the sandbox
- info:
    name: Download a file from the sandbox
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID/files/download
    params:
    - name: sandboxID
      value: ''
      type: path
    - name: path
      value: ''
      type: query
  docs: Download a file from the sandbox
- info:
    name: List files in a sandbox directory
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID/files/list
    params:
    - name: sandboxID
      value: ''
      type: path
    - name: path
      value: ''
      type: query
  docs: List files in a sandbox directory
- info:
    name: List processes in the sandbox
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/sandboxes/:sandboxID/processes
    params:
    - name: sandboxID
      value: ''
      type: path
  docs: List processes in the sandbox
- info:
    name: Start a process inside the sandbox
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/processes
    params:
    - name: sandboxID
      value: ''
      type: path
    body:
      type: json
      data: '{}'
  docs: Start a process inside the sandbox
- info:
    name: Send a signal to a sandbox process
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/sandboxes/:sandboxID/processes/:processID/signal
    params:
    - name: sandboxID
      value: ''
      type: path
    - name: processID
      value: ''
      type: path
    body:
      type: json
      data: '{}'
  docs: Send a signal to a sandbox process
- info:
    name: List sandbox templates
    type: http
  http:
    method: GET
    url: https://api.e2b.dev/templates
  docs: List sandbox templates
- info:
    name: Create a sandbox template
    type: http
  http:
    method: POST
    url: https://api.e2b.dev/templates
    body:
      type: json
      data: '{}'
  docs: Create a sandbox template
bundled: true