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

The volumes API from E2B — 5 operation(s) for volumes.

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

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

11 operations 5 paths 6 schemas 2 DELETE5 GET1 PATCH2 POST1 PUT

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 volumes 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 11

Across 5 paths, the API surfaces 11 operations — 2 DELETE, 5 GET, 1 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

volumes 11
GET
/volumes
List all team volumes
→ 200401500
POST
/volumes
Create a new team volume
body → 201400401500
GET
/volumes/{volumeID}
Get team volume info
1 param → 200401404500
DELETE
/volumes/{volumeID}
Delete a team volume
1 param → 204401404500
GET
/volumecontent/{volumeID}/path
Get path information
2 params → 200404
PATCH
/volumecontent/{volumeID}/path
Update path metadata
2 params body → 200400404500
DELETE
/volumecontent/{volumeID}/path
Delete a path
2 params → 204404
GET
/volumecontent/{volumeID}/dir
List directory contents
3 params → 200400404500
POST
/volumecontent/{volumeID}/dir
Create a directory
6 params → 201404500
GET
/volumecontent/{volumeID}/file
Download file
2 params → 200404500
PUT
/volumecontent/{volumeID}/file
Upload file
6 params body → 201404500

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are VolumeEntryStat (11 properties), VolumeAndToken (3 properties), Error (2 properties), Volume (2 properties). Each schema is shown below with its type and property counts.

NewVolume
object
1 property 1 required
VolumeAndToken
object
3 properties 3 required
Volume
object
2 properties 2 required
VolumeEntryStat
object
11 properties 10 required
Error
object
2 properties 2 required
VolumeDirectoryListing
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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