Declaw icon

Declaw

Run code securely in Firecracker microVM sandboxes — create sandboxes, execute commands, manage files

Sandbox → List

AI-generated

Summary

Lists all Declaw Firecracker microVM sandboxes available to the configured account by calling GET /sandboxes, and emits one n8n item per sandbox.

Inputs

None.

Output shape

One output item per sandbox, each containing the sandbox object returned by the Declaw API (taken from the sandboxes array of the response). If there are no sandboxes, the array is empty and no items are produced.

The exact fields of each sandbox object come from the API and aren't defined in the node. There is no pagination, filtering or limit parameter; the node returns whatever the API sends in sandboxes. The request runs once for each input item, so multiple input items repeat the list and return duplicate results. With Continue On Fail enabled, errors are emitted as an item with an error message.

Examples

Example 1: Audit running sandboxes and clean up stale ones

Resource: Sandbox, Operation: List. Follow with a Filter or IF node on the returned fields, then a Sandbox Kill node using each item's sandbox ID.

Example 2: Check whether a sandbox still exists before running a command

Resource: Sandbox, Operation: List. Match the target sandbox ID against the returned items in a later node.

Links

Discussion