curl --request POST \
--url https://api.runtools.ai/v1/sandboxes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"template": "base-ubuntu"
}
'{
"data": {
"id": "sandbox-abc123def456",
"name": "<string>",
"status": "pending",
"tags": [
"<string>"
],
"template": "<string>",
"ownerUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ownerDisplayName": "<string>",
"ownerEmail": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mounts": [
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"path": "/workspace",
"readOnly": true
}
],
"hasWritableWorkspaceMount": true,
"sshReady": true,
"vncReady": true,
"ip": "<string>",
"publicIp": "<string>",
"sshAccessConfigured": true,
"sshAuthMethod": "key",
"vncUrl": "<string>",
"resources": {
"vcpus": 2,
"memory": "4GB",
"disk": "10GB"
},
"createdAt": "2023-11-07T05:31:56Z"
}
}Creates a Firecracker microVM. Will claim from the warm pool if
available, otherwise cold-boots. Credit-checked: returns 402 insufficient_credits if the org cannot afford ~1 hour of runtime.
curl --request POST \
--url https://api.runtools.ai/v1/sandboxes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"template": "base-ubuntu"
}
'{
"data": {
"id": "sandbox-abc123def456",
"name": "<string>",
"status": "pending",
"tags": [
"<string>"
],
"template": "<string>",
"ownerUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ownerDisplayName": "<string>",
"ownerEmail": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mounts": [
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"path": "/workspace",
"readOnly": true
}
],
"hasWritableWorkspaceMount": true,
"sshReady": true,
"vncReady": true,
"ip": "<string>",
"publicIp": "<string>",
"sshAccessConfigured": true,
"sshAuthMethod": "key",
"vncUrl": "<string>",
"resources": {
"vcpus": 2,
"memory": "4GB",
"disk": "10GB"
},
"createdAt": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
WorkOS session token or RunTools API key (rt_live_* / rt_test_*).
Used in Authorization: Bearer <token> header.
"base-ubuntu"
Show child attributes
Idle pause timeout, in seconds. 0 disables auto-pause.
600
Show child attributes
Show child attributes
SSH key IDs to inject (resolved server-side).
Optional root password (less secure than keys).
Sandbox created.
Show child attributes