Skip to content

List sandboxes with CLI

By default, the CLI lists running sandboxes in a readable table:

sh
agentbox sandbox list --state running --limit 10

Use --state running,paused to select multiple states and --metadata key=value to filter by metadata. --limit 0 removes the result limit.

Pass --format json when another program will process the output. The CLI sorts results by start time, newest first.