How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

E2B Templates API

The templates API from E2B — 11 operation(s) for templates.

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

This API exposes 15 operations across 11 paths, and defines 32 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

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

15 operations 11 paths 32 schemas 1 DELETE6 GET2 PATCH6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.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 Templates 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 15

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

Templates 15
POST
/v3/templates
Create templates
postV3Templates body → 202400401500
POST
/v2/templatesdeprecated
Create templates
postV2Templates body → 202400401500
GET
/templates/{templateID}/files/{hash}
Get templates by template id files by hash
getTemplatesByTemplateIDFilesByHash 2 params → 201400401404500
GET
/templates
Get templates
getTemplates 1 param → 200401500
POST
/templatesdeprecated
Create templates
postTemplates body → 202400401500
GET
/templates/{templateID}
Get templates by template id
getTemplatesByTemplateID 3 params → 200401500
POST
/templates/{templateID}deprecated
Create templates by template id
postTemplatesByTemplateID 1 param body → 202401500
DELETE
/templates/{templateID}
Delete templates by template id
deleteTemplatesByTemplateID 1 param → 204401500
PATCH
/templates/{templateID}deprecated
Update templates by template id
patchTemplatesByTemplateID 1 param body → 200400401500
POST
/templates/{templateID}/builds/{buildID}deprecated
Create templates by template id builds by build id
postTemplatesByTemplateIDBuildsByBuildID 2 params → 202401500
POST
/v2/templates/{templateID}/builds/{buildID}
Create templates by template id builds by build id
postV2TemplatesByTemplateIDBuildsByBuildID 2 params body → 202401500
PATCH
/v2/templates/{templateID}
Update templates by template id
patchV2TemplatesByTemplateID 1 param body → 200400401500
GET
/templates/{templateID}/builds/{buildID}/status
Get templates by template id builds by build id status
getTemplatesByTemplateIDBuildsByBuildIDStatus 5 params → 200401404500
GET
/templates/{templateID}/builds/{buildID}/logs
Get templates by template id builds by build id logs
getTemplatesByTemplateIDBuildsByBuildIDLogs 7 params → 200401404500
GET
/templates/aliases/{alias}
Get templates aliases by alias
getTemplatesAliasesByAlias 1 param → 200400403404500

Schemas 32

The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are Template (16 properties), TemplateLegacy (14 properties), TemplateBuild (9 properties), TemplateWithBuilds (9 properties). Each schema is shown below with its type and property counts.

BuildLogEntry
object
4 properties 3 required
EnvdVersion
string
Version of the envd running in the sandbox
DiskSizeMB
integer
Disk size for the sandbox in MiB
LogLevel
string
State of the sandbox
TemplateBuildStatus
string
Status of the template build
TemplateUpdateRequest
object
1 property
FromImageRegistry
MemoryMB
integer
Memory for the sandbox in MiB
TemplateBuildRequestV3
object
6 properties
TemplateBuildStartV2
object
7 properties
LogsSource
string
Source of the logs that should be returned
CPUCount
integer
CPU cores for the sandbox
GeneralRegistry
object
3 properties 3 required
TemplateBuildInfo
object
6 properties 5 required
LogsDirection
string
Direction of the logs that should be returned
TemplateBuildRequest
object
7 properties 1 required
TeamUser
object
2 properties 2 required
TemplateAliasResponse
object
2 properties 2 required
TemplateUpdateResponse
object
1 property 1 required
AWSRegistry
object
4 properties 4 required
TemplateLegacy
object
14 properties 14 required
BuildStatusReason
object
3 properties 1 required
TemplateBuildFileUpload
object
2 properties 1 required
TemplateStep
object
Step in the template build process
4 properties 1 required
GCPRegistry
object
2 properties 2 required
TemplateBuild
object
9 properties 6 required
TemplateRequestResponseV3
object
6 properties 6 required
Template
object
16 properties 16 required
TemplateWithBuilds
object
9 properties 9 required
TemplateBuildLogsResponse
object
1 property 1 required
TemplateBuildRequestV2
object
4 properties 1 required
Error
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

e2b-dev-templates-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 Volumes API
Where this information came from

This is an independent, third-party profile of E2B Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.