Overview

The Sandbox Templates API lets organization admins define reusable cloud sandbox templates and launch instances from them. Templates declare a runtime, base image, source code, environment variables, resources, network policy, and timeout. Instances track execution status and output.

Base URL

All endpoints require a valid Bearer token in the Authorization header and organization owner or admin access. See Authentication for details.

Endpoints

Create template

Request body:
Allowed runtime values: bash, python, node, rust. Response:

List templates

Response:

Launch instance

Request body:
Response:

Stop instance

Response:

Error codes