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

The auth API from E2B — 3 operation(s) for auth.

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

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

3 operations 3 paths 4 schemas 3 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 auth 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 3

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

auth 3
GET
/teams
List all teams
→ 200401500
GET
/teams/{teamID}/metrics
Get metrics for the team
3 params → 200400401403500
GET
/teams/{teamID}/metrics/max
Get the maximum metrics for the team in the given interval
4 params → 200400401403500

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are TeamMetric (4 properties), Team (4 properties), MaxTeamMetric (3 properties), Error (2 properties). Each schema is shown below with its type and property counts.

MaxTeamMetric
object
Team metric with timestamp
3 properties 3 required
Team
object
4 properties 4 required
Error
object
2 properties 2 required
TeamMetric
object
Team metric with timestamp
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

e2b-dev-auth-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 events API
E2B Health API
E2B sandboxes API
E2B snapshots API
E2B tags API
E2B templates API
E2B volumes API