Overview
Listing templates helps you:- Discover available pre-configured environments
- Find templates by category or language
- Compare template resources and features
- Choose the right template for your use case
Templates include both public templates (available to all users) and organization-specific templates (custom templates youβve built).
List All Templates
Get a list of all available templates:- Python
- JavaScript
Filter by Category
Filter templates by category:- Python
- JavaScript
Filter by Language
Filter templates by programming language:- Python
- JavaScript
Template Information
Access template details from the list:- Python
- JavaScript
Find Template by Name
Search for a specific template:- Python
- JavaScript
Complete Example
Hereβs a complete example showing template discovery:- Python
- JavaScript
Best Practices
1
1. List Before Creating
Always list templates first to discover available options before creating sandboxes.
2
2. Filter by Use Case
Use category and language filters to narrow down templates relevant to your needs.
3
3. Check Resources
Review default resources (vCPU, memory, disk) to ensure they meet your requirements.
4
4. Verify Status
Check template status (active, building, etc.) before using templates.
5
5. Use Template Names
Use template names (not IDs) when creating sandboxes for better readability.
Related
- Getting Template Details - Get detailed template information
- Creating Sandboxes - Create sandboxes from templates
- SDK: Sandbox.list_templates() - Python SDK method
- API: GET /v1/templates - Control Plane API endpoint
- CLI Template Commands - Template management from CLI
Next Steps
- Learn about Getting Template Details for complete template information
- Explore Building Templates to create custom templates
- Review Template Configuration for advanced setup

