GET /v1/sandboxes/templates/{template}
Returns one template by name (`base`) or ID (`tpl_…`).

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

template string required path
Template name or `tpl_` ID.
Example: "agent"

Responses

200 The template.
application/json
id string REQUIRED
object string REQUIRED
Enum: template
name string REQUIRED
description string REQUIRED
os string REQUIRED
runtimes string[] REQUIRED
Array of: string
capabilities string[] REQUIRED
`cdp`: Chrome runs in the template's snapshot with DevTools on `127.0.0.1:9222` inside the sandbox; declare port 9222 to reach it through a port preview.
Array of: string
defaults object REQUIRED
vcpu integer REQUIRED
memory_mib integer REQUIRED
disk_gib integer REQUIRED
created_at string (date-time) REQUIRED
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such template (`template_not_found`).
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/sandboxes/templates/agent' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/sandboxes/templates/agent', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/sandboxes/templates/agent', headers=headers)print(response.json())
200 Response
{  "id": "tpl_01m5t3wvxz6d4kfrb9rm40500x",  "object": "template",  "name": "agent",  "description": "base plus the Claude Agent SDK, the OpenAI Agents SDK and LangGraph.",  "os": "Ubuntu 24.04",  "runtimes": [    "python3.12",    "node24"  ],  "capabilities": [    "exec",    "files",    "pty"  ],  "defaults": {    "vcpu": 2,    "memory_mib": 2048,    "disk_gib": 8  },  "created_at": "2026-10-20T00:00:00.000Z"}
Ask a question... ⌘I