← Sandbox as a Service API reference — authenticate with Authorization: Bearer aas_sk_... openapi.json

API reference

Every endpoint of the sandbox API. Base URL https://sandbox-as-a-service.com/v1, bearer auth with an API key from your dashboard. The machine-readable spec is at /openapi.json; the explorer below is generated from it.

EndpointWhat it does
POST /v1/sandboxesCreate a sandbox
GET /v1/sandboxesList sandboxes
PARAMETERS /v1/sandboxes/{id}
GET /v1/sandboxes/{id}Get a sandbox
DELETE /v1/sandboxes/{id}Destroy a sandbox
PARAMETERS /v1/sandboxes/{id}/exec
POST /v1/sandboxes/{id}/execRun a command
POST /v1/sandboxes/{id}/portsExpose a port on a public preview URL
GET /v1/sandboxes/{id}/portsList the preview URLs open on a sandbox
DELETE /v1/sandboxes/{id}/ports/{port}Close a preview URL
PARAMETERS /v1/sandboxes/{id}/files
PUT /v1/sandboxes/{id}/filesWrite a file
GET /v1/sandboxes/{id}/filesRead a file or list a directory
DELETE /v1/sandboxes/{id}/filesDelete a file or directory
PARAMETERS /v1/sandboxes/{id}/extend
POST /v1/sandboxes/{id}/extendExtend a sandbox lifetime
PARAMETERS /v1/executions/{id}
GET /v1/executions/{id}Get an execution result
GET /v1/usageGet usage summary
GET /v1/accountGet account details

Quickstart · Lifecycle · Running commands · Files · Errors · MCP server · Pricing