In short.
E2B's Template names guide is a practical reference for developers naming reusable sandbox environments, but it does not provide complete setup instructions. It explains how names are normalized, how project namespaces prevent naming conflicts across projects, and how to check whether a name is in use. Python and JavaScript/TypeScript examples connect template builds to sandbox creation. Pricing, SDK versions and name-reuse behavior are unknown from this page; no examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete page at [https://docs.e2b.dev/template/names.md]: normalization and validation, project namespaces, the legacy public-template notice, both language examples, environment and capacity variants, the caching tip, availability checks and naming recommendations. The documentation index at [https://docs.e2b.dev/llms.txt] and linked tags page at [https://docs.e2b.dev/template/tags.md] are outside scope and were not assessed. No code was executed. Actual builds, sandbox creation, availability-check behavior, caching performance and SDK compatibility remain unverified.
The overview
Identity
Template names is an E2B documentation page about human-readable identifiers assigned when building sandbox templates. A built template can then be referenced by name when creating a sandbox. The original page is [https://docs.e2b.dev/template/names.md].
Assessment
The guide is useful for resolving concrete integration questions: which characters a name accepts, whether capitalization matters, and when the guide recommends a project prefix. Matching Python and JavaScript/TypeScript examples make the naming concepts accessible across both SDK styles.
Its usefulness is narrow. It does not establish how to define a complete template, configure an E2B project or authenticate SDK calls. Runtime correctness and compatibility were not assessed through execution.
Users
The guide suits developers integrating E2B sandbox creation into Python or JavaScript/TypeScript applications. Its examples address teams keeping separate development and production environments, or maintaining small and large variants of the same template.
Beginners can use it to understand identifiers and namespaces, but will need additional instructions to reach a working SDK configuration. Experienced developers can use the validation rules and public-reference guidance when establishing naming conventions.
Capabilities
The page demonstrates assigning a name with Template.build, creating a sandbox with Sandbox.create and checking whether a name is already used with Template.exists. It also illustrates template variants with different CPU and memory settings.
It recommends descriptive, consistent names and using tags for version distinctions. A caching tip says common layers are reused when variants share a template definition; the page provides no measured build-time improvement.
Using it
Requirements
The examples rely on E2B's Template and Sandbox APIs and an existing template definition represented by the variable template. The availability examples import Template from the e2b package in both languages.
Installation commands, supported SDK versions, authentication requirements, project setup and the template definition are not supplied. Available CPU and memory configurations cannot be established from illustrative values alone.
Mechanism
Before validation, a name is trimmed of surrounding whitespace and lowercased. The result must contain 1 to 128 characters and match ^[a-z0-9-_]+$: lowercase letters, numbers, dashes and underscores. Leading and trailing dashes or underscores are allowed. Internal spaces, dots and slashes are rejected. My-Template and my-template therefore resolve to the same name.
Names are scoped to a project: my-app is stored as your-project-slug/my-app and can be referenced locally as my-app. Public templates should use project-slug/template-name. The page preserves a compatibility exception for existing public templates, which remain accessible without the prefix.
Setup
With the SDK and template definition available, choose a descriptive name that satisfies the normalization and character rules. Template.exists('my-template') checks whether that name is already used within the project; the examples interpret true as taken and false as available.
Pass the chosen name to Template.build, then use it with Sandbox.create. For a new public template, use its full project-slug/template-name reference. The page does not explain collision handling or whether an availability check reserves a name.
Example
The JavaScript/TypeScript example calls await Template.build(template, 'my-python-env', { cpuCount: 2, memoryMB: 2048 }), followed by await Sandbox.create('my-python-env'). The Python example uses Template.build(template, 'my-python-env', cpu_count=2, memory_mb=2048), followed by Sandbox.create('my-python-env').
This illustrates the connection between a build name and a later sandbox reference. It is not a standalone runnable program because imports and the template definition are incomplete. No build or sandbox creation was executed.
Assessment & evidence
Limitations
Names differing only in capitalization or surrounding whitespace cannot distinguish templates. Short references depend on project context, while the guide recommends fully namespaced references for new public templates; whether unprefixed references work for those templates is unknown.
The page does not describe what happens when rebuilding an existing name, whether names identify immutable builds, or how renaming and deletion work. Error responses, concurrency behavior and the duration of compatibility support for older public references are unspecified.
Reasoning
The examples support using names to communicate a template's purpose or resource configuration. Separate names such as myapp-dev and myapp-prod make the intended environment visible at the sandbox-creation call.
A practical implication is that a bare template name is insufficient to identify a template across projects. Explicit public namespaces reduce that ambiguity. Naming conventions alone do not establish isolation or deployment guarantees.
Alternatives
Within E2B, the page illustrates names based on environment, such as myapp-dev and myapp-prod, or capacity, such as myapp-small and myapp-large. The appropriate convention depends on which distinction developers need to recognize.
For version management, it recommends tags such as myapp:v1 and myapp:v2 instead of placing version numbers in names. The linked tags documentation was not assessed, so tag resolution and mutability are unknown. The page provides no comparison with other sandbox services.
Evidence
The evidence is the complete E2B Template names documentation page at [https://docs.e2b.dev/template/names.md]. It contains validation rules, namespace guidance, a public-template compatibility notice and examples in Python and JavaScript/TypeScript.
These are documentation statements and illustrative snippets. There are no execution results, independent benchmarks or measured reliability findings. The claim about faster cached builds has no supporting measurements on this page.
Access & freshness
Costs
Pricing is unknown from this page. It provides no charges, free allowances, billing units or plan requirements for template builds, sandbox creation or availability checks.
The CPU and memory examples do not establish what those configurations cost. The caching statement also provides no quantified time or financial savings.
Rights
The supplied page states no licence or redistribution permissions for its documentation or code examples. Commercial-use terms for the service and rights governing template sharing are also unknown from this page.
Freshness
The available documentation snapshot was captured on November 23, 2026, at 23:47:38.910 UTC. The page states no publication date, last-update date or SDK version.
The distinction between existing and new public-template references indicates compatibility-sensitive behavior, but the page gives no transition date. Compatibility with particular installed SDK versions and changes after capture are unknown.
Actions
Choose a consistent purpose, environment or capacity convention, accounting for automatic lowercasing. Check project-local availability with Template.exists and use the complete namespace when referencing a new public template.
Follow the page's recommendation to use tags for versions, consulting the separate tag documentation for their behavior. To implement the examples, obtain the missing SDK setup and template-definition instructions and confirm the behavior of rebuilding an existing name.
