Documentation Index
Fetch the complete documentation index at: https://docs.superserve.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox.create() boots a fresh VM and returns when it’s ready to use. There’s no readiness check or polling - the returned instance is already active.
With options
Attach metadata tags, inject environment variables, cap the active lifetime, or lock down network egress at creation time.Common options
| Option | Type | Description |
|---|---|---|
name | string | Required. Human-readable sandbox name. |
timeoutSeconds / timeout_seconds | number | Max time the sandbox can stay active before auto-pause. |
metadata | Record<string, string> | String tags. See Metadata. |
envVars / env_vars | Record<string, string> | Env vars applied to every process. See Environment variables. |
network | NetworkConfig | Egress allow/deny rules. See Networking. |
apiKey, baseUrl, and signal.
Create from a template
Boot a sandbox from a system or team template viafromTemplate (name, UUID, or Template instance).