In short.
E2B's template tags and versioning page is a guide for developers selecting and promoting sandbox builds, but it omits installation and authentication instructions. It documents default tags, multiple labels for one build, tag management and direct build-ID references. Its practical value is separating convenient deployment labels from references to exact build artifacts. Prices, supported SDK versions and runtime behavior are not established; no code was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://docs.e2b.dev/template/tags.md], including its documentation-index notice, all examples and the warning that removing a tag does not delete its build. The linked index at [https://docs.e2b.dev/llms.txt] and all other pages are excluded. No code was executed. Installation, authentication, operational behavior, SDK compatibility, pricing and licensing remain unverified or unspecified where the page provides no evidence.
The overview
Identity
This E2B documentation page explains how to version sandbox templates and choose which build starts a sandbox. The source is [https://docs.e2b.dev/template/tags.md]. It is a feature guide with JavaScript/TypeScript and Python examples.
Assessment
The guide is useful when an E2B application needs release labels, environment promotion or a reference to a known build for debugging. It connects building, assigning labels and starting sandboxes in concrete examples.
It is less complete as an introduction to E2B: the examples assume an existing template definition, and the page does not explain installation, authentication or error handling. Its documented behavior was not assessed through execution.
Users
The main audience is developers maintaining E2B sandbox environments. Beginners can learn how a readable label selects a build; experienced developers can use the examples to design release promotion and build-pinning workflows.
The page is particularly relevant to teams separating staging and production environments or reproducing an issue from a known build. It does not require or describe a particular AI model or agent framework.
Capabilities
The documented operations cover building with one or several tags, assigning tags to an existing build without rebuilding, removing tags and listing tag mappings. Each listed tag includes its name, associated build ID and assignment time.
Sandbox creation accepts either a named tag or a specific build ID. Examples show semantic-version labels, environment labels and rolling latest and stable labels.
Using it
Requirements
The examples use Template and Sandbox from the e2b SDK in JavaScript/TypeScript or Python. Build examples assume that a template object has already been defined.
Readers also need the relevant template identifier and, for namespaced references, its namespace. Required SDK versions, installation commands, authentication steps, account permissions and platform requirements are not specified.
Mechanism
A tag is a label associated with a template build artifact. References use name:tag or namespace/name:tag. Multiple labels can point to the same artifact, allowing a release label and an environment label to identify one build.
An omitted suffix resolves to default: my-template and my-template:default are documented as equivalent. The page does not describe default as automatically selecting the newest build.
For an exact artifact reference, the same suffix position accepts a build ID. The page says build IDs are available from Template.build() or tag listings. JavaScript/TypeScript uses Template.getTags(); Python uses Template.get_tags().
Setup
With an E2B template definition already available, the documented starting point is to build it with an explicit label using Template.build(). Import Template for build and tag operations, and Sandbox when creating a sandbox from a reference.
JavaScript/TypeScript examples await SDK calls; the Python examples use synchronous calls. The page does not provide a complete environment setup or establish compatibility with a particular SDK release.
Example
The Python environment example builds my-app:v1.5.0 with Template.build(template, 'my-app:v1.5.0'), then assigns staging with Template.assign_tags('my-app:v1.5.0', 'staging'). After the developer's testing step, the example assigns production to that build.
The application then reads ENV, defaults it to staging and passes the resulting my-app:<environment> reference to Sandbox.create(). This illustrates build promotion without another build; no testing or promotion was performed here.
Assessment & evidence
Limitations
Labels such as stable and production express the developer's assignment; the page does not establish an automated testing or approval mechanism behind them. Likewise, semantic-version examples do not establish enforced version ordering or immutable release labels.
Removing a tag does not delete its build artifact, and other tags pointing to that build continue to work. Artifact retention periods, storage cleanup, concurrent tag updates, rollback guarantees and error behavior are not explained.
Reasoning
The practical distinction is between choosing by label and choosing by artifact identity. Environment labels let application configuration remain stable while the assigned build changes. The guide explicitly recommends build-ID references when a known artifact matters for debugging or reproducing an issue.
A reasonable implication is to record the build ID alongside a release label when traceability matters. A readable label communicates intent, while the build ID identifies the artifact. This does not establish reproducibility of conditions outside that artifact.
Alternatives
The page presents several reference choices within E2B: default for omitted labels, version labels for releases, environment labels for deployment stages, latest or stable for rolling references, and build IDs for exact artifacts.
These choices serve different needs. Environment labels support promotion without changing the application's reference, while build IDs identify a specific build. Other sandbox services and versioning systems are not covered, so a comparison with them is not assessed.
Evidence
The evidence is the complete documentation page at [https://docs.e2b.dev/template/tags.md]. It contains paired JavaScript/TypeScript and Python examples for build creation, tag management and sandbox creation, plus a warning about tag removal.
These are documentation examples, not execution results. The page supplies no benchmarks, measured reliability results or demonstrated deployment outcomes.
Access & freshness
Costs
The page provides no prices, free-tier allowances, billing units or charges for builds, retained artifacts, tag operations or sandbox runtime. Costs are unknown from this evidence; the presence of SDK examples does not establish free usage.
Rights
The supplied page states no licence, redistribution permission or service terms. Rights to redistribute the documentation or its examples, and terms governing use of the service, are unknown from this page.
Freshness
The supplied source was captured at 2026-11-15T10:29:57.333Z with source revision sha256:85764e451644748500825fb6281e98386a565eb756c19ca493d01610bd25e712. That timestamp identifies the capture, not the page's publication or update date.
The page states no publication date, last-updated date or supported SDK version. Compatibility with a specific installed release and changes after capture are unknown.
Actions
Choose a reference strategy before adopting the examples: environment labels for promotion, release labels for readable version names, or build IDs when an exact artifact is required. Inspect tag mappings with Template.getTags() or Template.get_tags() before relying on a deployment label.
Confirm SDK setup, authentication, billing, artifact retention and usage terms in the relevant E2B documentation. Validate the intended promotion and recovery behavior in your own environment before relying on it for production.
