Developer Tools

E2B

Open-source Code Interpreting for AI Apps. Run sandboxed code execution environments with support for multiple programming languages.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get Sandbox Lifecycle Events

    Retrieve lifecycle events for a specific sandbox, with pagination and sort options. The response accepts creation, update, and termination event types; other event types fail response validation.

  • Get Sandbox Logs V2

    Retrieve structured logs for an existing E2B sandbox using the v2 API. Requires the sandbox ID and API-key or supported bearer/team authentication. Filter by minimum level or case-sensitive message substring. Use cursor (a timestamp in milliseconds), limit, and direction to retrieve a window of logs; the response contains logs without a continuation token.

  • Get Sandbox Metrics

    Tool to retrieve timestamped CPU, memory, and disk usage metrics for a sandbox. Use when you need to monitor resource usage of a running sandbox. Metrics are collected every 5 seconds; returns empty array if no metrics available yet.

  • Get Secret

    Get an existing secret's metadata by identifier or canonical lower-case name. Never returns the stored secret value. Requires a project API key or supported bearer authentication with team context. Returns one secret, without pagination.

  • Get Team Metrics

    Retrieve timestamped team metrics, including concurrent sandbox counts and sandbox start rates, with optional time bounds.

  • Get Team Maximum Metrics

    Tool to retrieve the maximum value for a specific team metric in a given interval. Use when you need to check team limits or peak usage, such as maximum concurrent sandboxes allowed or highest resource usage.

  • Get Template Build Logs

    Retrieve structured logs for an existing E2B template build. Requires template and build IDs and API-key or supported bearer/team authentication. Filter by level and source. Use cursor (a timestamp in milliseconds), limit, and direction to retrieve a window of logs; the response contains logs without a continuation token.

  • Get Template Build Status

    Tool to get the status of a template build. Use when you need to check the build status of a template that was started asynchronously. Useful in polling loops to monitor template builds in progress.

  • Get Template Files

    Tool to get an upload link for a tar file containing build layer files. Use when you need to retrieve or download template build layer files by their hash.

  • Get Volume

    Get a team volume's ID, name, content auth token and optional BYOC domain. Requires an existing volume ID and a team API key or supported bearer authentication with team context.

  • Get Webhook Configuration

    Tool to retrieve the current webhook configuration for a specific webhook. Use when you need to inspect webhook settings, verify configuration, or check webhook status.

  • Get Webhook Stats

    Get aggregate delivery counts, failures, durations, and time buckets for an existing webhook. Requires a team API key or supported bearer authentication with team context. Optionally select an inclusive start and exclusive end; the provider defaults to the last 24 hours. Returns the aggregate statistics without pagination.

  • List API Keys

    List all API keys for the selected team, including masked key details. Requires bearer authorization and X-Team-ID team context. Team API key authentication is not supported. Returns one unpaginated list; raw API key values are not returned.

  • List Default Templates

    List platform default templates, ordered by template ID, excluding deleted templates. Non-public templates are visible only to their own team and admin callers. Build resources and envd version describe the newest ready build tagged default; buildStatus describes the newest default-tagged build in any state. Usage fields are reported only for the caller's own templates and admin callers. Supports API key or supported bearer/admin authentication. Returns an unpaginated list.

  • List All Sandboxes

    List team sandboxes with state and metadata filters, a page size, and an optional pagination token. The response contains sandbox information but does not expose a next-page token.

  • List Sandboxes Metrics

    Retrieve timestamped CPU, memory, and disk usage metrics for multiple sandboxes, keyed by sandbox ID. Metrics are collected every 5 seconds; the metrics mapping may be empty when no metrics are available yet.

  • List Sandboxes V2

    List a page of team sandboxes using GET /v2/sandboxes with optional filters. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.

  • List Secrets

    List a page of the project's secret metadata, without stored secret values. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.

  • List Snapshots

    List a page of team snapshots, optionally filtered by source sandbox or name. Requires a team API key or supported bearer authentication with team context. Pass the returned nextToken to fetch the next page; no token means no more pages.

  • List Teams

    List all teams for the authenticated user, including their API keys. Requires auth-provider bearer authorization; API key authentication is not supported. X-Team-ID is not required. Returns all teams in one unpaginated list.

PreviousPage 2 / 3Next