List Commands
Command API
List Commands
List all tracked background processes for a sandbox.
GET
List Commands
Returns an array of background processes that are currently tracked for the
sandbox. Only commands started with
background: true appear in this list.
Processes are removed from the list when they complete via
wait or are killed via
kill.
Path Parameters
The sandbox identifier. Format:
sbx-<8 chars>.Response
Returns an array ofProcessInfo objects. May be empty if no background
processes are tracked.
Process ID.
The command string that was run.
Whether the process was started with a pseudo-terminal.
Environment variables the process was started with.
Example
Response
Error Responses
| Status | Cause |
|---|---|
401 | Missing or invalid API key |