GET /v1/sandboxes/{sandbox_id}/processes
Lists processes started with `background: true`, running or exited, newest first.

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

sandbox_id string required path
The sandbox ID (`sbx_…`).
Example: "sbx_01m5t68q1b590rj801nbzsqzkk"

Responses

200 The processes.
application/json
object string REQUIRED
Enum: list
data object[] REQUIRED
Array of:
object string REQUIRED
Enum: process
pid integer REQUIRED
cmd string REQUIRED
The command as started (argv arrays are joined with spaces).
cwd string
status string REQUIRED
Enum: running, exited
exit_code integer | null REQUIRED
signal string | null
started_at string (date-time) REQUIRED
exited_at string (date-time) | null REQUIRED
next_cursor string | null REQUIRED
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such sandbox in this project (`sandbox_not_found`).
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
502 The agent inside the microVM did not answer (`guest_unreachable`).
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/sandboxes/sbx_01m5t68q1b590rj801nbzsqzkk/processes' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/sandboxes/sbx_01m5t68q1b590rj801nbzsqzkk/processes', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/sandboxes/sbx_01m5t68q1b590rj801nbzsqzkk/processes', headers=headers)print(response.json())
200 Response
{  "object": "list",  "data": [    {      "object": "process",      "pid": 812,      "cmd": "npm run dev",      "cwd": "/workspace/app",      "status": "running",      "exit_code": null,      "started_at": "2026-10-25T19:01:00.000Z",      "exited_at": null    }  ],  "next_cursor": null}
Ask a question... ⌘I