sandbox.rigbox.dev is built on top of the same Rigbox API base (https://api.rigbox.dev/api/v1). It provides a streamlined UI for running AI-generated code in isolated micro-VMs with terminal access, app management, and log streaming.
Use this guide as an API map when building your own sandbox-like experience.
API Groups
Core Rigbox APIs Used by Sandbox
App Management APIs Used by Sandbox
Log Streaming APIs
Log streaming uses Server-Sent Events (SSE). Set
Accept: text/event-stream header and read the response as an event stream.API Key Management
Terminal Access
The Sandbox UI provides terminal access to workspaces via WebSocket connections. This uses the shared terminal infrastructure (xterm.js) and connects through the SSH gateway, not through the REST API.Authentication
The Sandbox UI authenticates via session tokens automatically. For programmatic access, use API keys with theAuthorization: Bearer rb_... header.
Minimal Sandbox-Like Integration Flow
- Check capacity with
GET /capacity- verifyavailableistrue. - Call
POST /quick-deploywith your desired template. - Poll
GET /workspaces/{id}untilstatusisrunning. - Call
POST /workspaces/{id}/reconcile-appsto ensure apps are created. - List apps with
GET /apps?workspace_id={id}. - Stream logs with
GET /apps/{id}/logs/streamfor real-time output. - Toggle visibility with
PUT /apps/{id}/visibilityto expose apps publicly.
Key Differences from Clawd
For the Clawd-specific API surface, see /clawd-api-surface.