Actions24
- Code Interpreter Actions
- Command Actions
- File Actions
- Sandbox Actions
- Snapshot Actions
Command → List Processes
AI-generatedSummary
Lists the background processes (commands started with Run Background) in a given Declaw sandbox by calling GET /sandboxes/{sandboxId}/commands.
Inputs
- sandboxId (required) — ID of the sandbox to list processes for (e.g. sbx-a1b2c3d4). Inserted into the API path.
Output shape
One n8n output item per process returned by the API for each input item. The fields of each item are whatever the Declaw API returns for a process (the node doesn't reshape them).
If the API response is not an array, the node returns an empty list, so no items are emitted for that input. With Continue On Fail enabled, errors become an item with an
errormessage. The operation runs once per input item.
Examples
Example 1: Check which background jobs are still running in a sandbox before killing one.
Resource: Command, Operation: List Processes, Sandbox ID: {{ $json.sandbox_id }} from a prior Create Sandbox node.
Example 2: Audit a known sandbox for lingering processes.
Resource: Command, Operation: List Processes, Sandbox ID: sbx-a1b2c3d4.