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
string
required
The sandbox identifier. Format:
sbx-<8 chars>.Response
Returns an array ofProcessInfo objects. May be empty if no background
processes are tracked.
integer
Process ID.
string
The command string that was run.
boolean
Whether the process was started with a pseudo-terminal.
object
Environment variables the process was started with.
Example
Response