Skip to main content
Sandboxes are isolated, ephemeral cloud environments where your code runs. This hub provides a complete overview of sandbox lifecycle management, from creation to cleanup.

What You’ll Learn

  • How to create sandboxes from templates
  • How to list and filter existing sandboxes
  • How to connect to sandboxes and manage their state
  • How to configure timeouts and lifecycle management
  • SDK and API methods for sandbox operations

Sandbox Lifecycle Overview

OperationSDK MethodAPI Endpoint
CreatingSandbox.create()POST /v1/sandboxes
ListingSandbox.list() / Sandbox.iter()GET /v1/sandboxes
ConnectingSandbox.connect()GET /v1/sandboxes/:id
Managing Statestart() / stop() / pause() / resume()POST /v1/sandboxes/:id/:action
Timeoutset_timeout()PUT /v1/sandboxes/:id/timeout

Core Concepts

Creating Sandboxes

Learn how to create new sandboxes from templates with custom configuration.

Listing Sandboxes

Discover how to list, filter, and iterate through existing sandboxes.

Connecting to Sandboxes

Connect to existing sandboxes by ID or from previous sessions.

Managing Sandbox State

Control sandbox lifecycle: start, stop, pause, and resume operations.

Timeout Management

Configure and manage sandbox auto-shutdown timers.

SDK Reference

Python SDK

Complete reference for Python sandbox operations.

JavaScript SDK

Complete reference for JavaScript/TypeScript sandbox operations.

API Reference

Control Plane API

REST API endpoints for sandbox lifecycle management.

Quick Start

If you’re new to sandboxes, start here:
  1. Quickstart Guide - Get started in 5 minutes
  2. Creating Sandboxes - Create your first sandbox
  3. Listing Sandboxes - Find existing sandboxes
  4. Managing State - Control sandbox lifecycle

Next Steps