List live processes and retained observations
Call Create sandbox first and replace sbx_123 with its returned sandboxID.
GET
/sandbox/v1/sandboxes/{sandboxID}/processes● SupportedRequest parameters
sandboxIDstringrequiredpath: Sandbox ID.
statestringoptionalquery: live: running; exited: finished; all: all retained observations. Defaults to live.
Returns
200
Errors follow the E2B format — see error codes
Request
curl
# Call Create sandbox first and replace sbx_123 with its returned sandboxID.
curl "https://api.deepraxis.com/sandbox/v1/sandboxes/sbx_123/processes?state=all" \
-H "X-API-Key: $PRAXIS_API_KEY"Python
# Call Create sandbox first and replace sbx_123 with its returned sandboxID.
import requests
api_key = "$PRAXIS_API_KEY"
# Call /sandbox/v1 directly over HTTP.
resp = requests.get(
"https://api.deepraxis.com/sandbox/v1/sandboxes/sbx_123/processes?state=all",
headers={"X-API-Key": api_key},
)
print(resp.status_code, resp.text)TypeScript
// Call Create sandbox first and replace sbx_123 with its returned sandboxID.
const apiKey = "$PRAXIS_API_KEY";
// Call /sandbox/v1 directly over HTTP.
const resp = await fetch(`https://api.deepraxis.com/sandbox/v1/sandboxes/sbx_123/processes?state=all`, {
headers: { "X-API-Key": apiKey },
});
console.log(resp.status, await resp.text());Response 200
{
"processes": [
{
"processId": "live-360",
"pid": 360,
"config": {
"cmd": "/bin/bash",
"args": [
"-l",
"-c",
"sudo -u user -H sh -c '. /etc/profile.d/praxis.sh; exec praxis-envd serve >>/praxis/logs/praxis-envd.log 2>&1'"
],
"cwd": "/home/user"
},
"state": "running",
"observed": false,
"observationGap": true,
"outputTruncated": false
},
{
"processId": "obs-1",
"pid": 1575,
"tag": "docs-sample",
"config": {
"cmd": "/bin/sh",
"args": [
"-c",
"printf 'docs sample\\n'"
]
},
"pty": false,
"startedAt": "2026-10-23T01:37:52.206Z",
"exitCode": 0,
"exitedAt": "2026-10-23T01:37:52.208Z",
"state": "exited",
"observed": true,
"observationGap": false,
"outputTruncated": false
}
]
}Response
HTTP 200
Bounded observation with explicit completeness
application/json
| Name | Type | Description |
|---|---|---|
| processes | array<object> | Processes of the sandbox: running ones and retained observations of exited ones, newest first. |
| processes[].processId | string | Id of the process: obs-<n> for a process whose start was observed, live-<pid> for one that was only seen running. |
| processes[].pid | integer | Operating-system process id inside the sandbox. |
| processes[].tag | string | Tag the process was started with; absent when none. |
| processes[].config | object | Command the process was started with. |
| processes[].pty | boolean | Whether the process runs in a pseudo-terminal; present for observed processes. |
| processes[].startedAt | string | Time at which the process start was observed, UTC. |
| processes[].exitedAt | string | Time at which the process exit was observed, UTC; absent until an exit was witnessed. |
| processes[].exitCode | integer | Exit code; present only when the exit was witnessed. |
| processes[].state | string | Current state of the process. |
| processes[].observed | boolean | Whether the platform watched this process start. False for a process that was only seen running. |
| processes[].observationGap | boolean | True when observation was interrupted, so output or the exit may be missing; the state can then be unknown. |
| processes[].outputTruncated | boolean | True when old output chunks were dropped to stay within the retention limits. |