REST API
Endpoints
Every public endpoint on one page. Each one links to its full documentation.
https://dev-api.renderops.comAll endpoints except /health need Authorization: Bearer ro_live_.... See Authentication and Requests and errors.
Sandboxes
| Method | Path | Does |
|---|---|---|
| POST | /session | Create a sandbox |
| GET | /session | List your sandboxes |
| GET | /session/{id} | Get a sandbox and its run stats |
| DELETE | /session/{id} | Destroy a sandbox |
Execution
| Method | Path | Does |
|---|---|---|
| POST | /session/{id}/run | Run Python, Node or Bash source |
| POST | /session/{id}/exec | Run a shell command |
Lifecycle
| Method | Path | Does |
|---|---|---|
| POST | /session/{id}/pause | Snapshot and release CPU and memory |
| POST | /session/{id}/resume | Restore a paused sandbox |
Access
| Method | Path | Does |
|---|---|---|
| POST | /v1/sandboxes/{id}/terminals | Create a terminal |
| WS | /v1/terminals/{terminal_id} | Attach to a terminal |
| POST | /v1/sandboxes/{id}/ide/sessions | Open the browser IDE |
| POST | /v1/sandboxes/{id}/ports/{port}/preview | Create a preview link |
Service
| Method | Path | Does |
|---|---|---|
| GET | /health | Check the API is up (no key needed) |