Skip to main content
POST

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
template
string
required
Example:

"base-ubuntu"

name
string
mounts
object[]
idleTimeout
integer

Idle pause timeout, in seconds. 0 disables auto-pause.

Example:

600

resources
object
env
object
metadata
object
sshKeys
string<uuid>[]

SSH key IDs to inject (resolved server-side).

rootPassword
string

Optional root password (less secure than keys).

tags
string[]
projectId
string<uuid>

Response

Sandbox created.

data
object