Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

E2B events API

The events API from E2B — 2 operation(s) for events.

E2B events API is one of 14 APIs that E2B publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include events. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version 0.1.0.

Requests are made against a single base URL, https://api.e2b.app.

2 operations 2 paths 5 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.1.0
Base URL
https://api.e2b.app
Authentication
API Key, HTTP Bearer, API Key, API Key, API Key
Resource Areas
1

Authentication & Security 5

E2B events API declares 5 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). It accepts HTTP bearer tokens (access_token) (AccessTokenAuth). An API key is passed in the header as X-Supabase-Token (Supabase1TokenAuth). An API key is passed in the header as X-Supabase-Team (Supabase2TeamAuth). An API key is passed in the header as X-Admin-Token (AdminTokenAuth).

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

events 2
GET
/events/sandboxes
List team sandbox lifecycle events
4 params → 200
GET
/events/sandboxes/{sandboxID}
List events for a single sandbox
5 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are SandboxEvent (12 properties), SandboxExecution (4 properties), SandboxEventData (3 properties), SandboxEventsResponse (1 property). Each schema is shown below with its type and property counts.

SandboxEventsResponse
object
1 property
SandboxEvent
object
12 properties 6 required
SandboxExecution
object
Execution metrics included on terminal events such as sandbox.lifecycle.killed and sandbox.lifecycle.paused.
4 properties
SandboxLifecycleEventType
string
Documented sandbox lifecycle event types.
SandboxEventData
object
Event-specific payload. May be null on events that have no additional context. For sandbox.lifecycle.updated the payload may include settimeout. For sandbox.li…
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

e2b-dev-events-api-openapi.yml Raw ↑

Other APIs E2B publishes across the network.

E2B Code Interpreter SDK
E2B Desktop Sandbox SDK
E2B access-tokens API
E2B admin API
E2B api-keys API
E2B auth API
E2B Health API
E2B sandboxes API
E2B snapshots API
E2B tags API
E2B templates API
E2B volumes API