Sign in

REST API

Endpoints

Every public endpoint on one page. Each one links to its full documentation.

Base URL
https://dev-api.renderops.com

All endpoints except /health need Authorization: Bearer ro_live_.... See Authentication and Requests and errors.

Sandboxes

MethodPathDoes
POST/sessionCreate a sandbox
GET/sessionList your sandboxes
GET/session/{id}Get a sandbox and its run stats
DELETE/session/{id}Destroy a sandbox

Execution

MethodPathDoes
POST/session/{id}/runRun Python, Node or Bash source
POST/session/{id}/execRun a shell command

Lifecycle

MethodPathDoes
POST/session/{id}/pauseSnapshot and release CPU and memory
POST/session/{id}/resumeRestore a paused sandbox

Access

MethodPathDoes
POST/v1/sandboxes/{id}/terminalsCreate a terminal
WS/v1/terminals/{terminal_id}Attach to a terminal
POST/v1/sandboxes/{id}/ide/sessionsOpen the browser IDE
POST/v1/sandboxes/{id}/ports/{port}/previewCreate a preview link

Service

MethodPathDoes
GET/healthCheck the API is up (no key needed)
Ctrl I