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 admin API

The admin API from E2B — 4 operation(s) for admin.

E2B admin 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 admin. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 5 operations across 4 paths, and defines 10 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.

5 operations 4 paths 10 schemas 2 GET3 POST

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 admin 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 5

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

admin 5
GET
/nodes
List all nodes
→ 200401500
GET
/nodes/{nodeID}
Get node info
2 params → 200401404500
POST
/nodes/{nodeID}
Change status of a node
1 param body → 204401404500
POST
/admin/teams/{teamID}/sandboxes/kill
Kill all sandboxes for a team
1 param → 200401404500
POST
/admin/teams/{teamID}/builds/cancel
Cancel all builds for a team
1 param → 200401404500

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Node (12 properties), NodeDetail (12 properties), NodeMetrics (7 properties), DiskMetrics (5 properties). Each schema is shown below with its type and property counts.

DiskMetrics
object
5 properties 5 required
NodeStatus
string
Status of the node
NodeStatusChange
object
2 properties 1 required
NodeMetrics
object
Node metrics
7 properties 7 required
Node
object
12 properties 12 required
AdminSandboxKillResult
object
2 properties 2 required
NodeDetail
object
12 properties 12 required
MachineInfo
object
4 properties 4 required
AdminBuildCancelResult
object
2 properties 2 required
Error
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs E2B publishes across the network.

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