List all running sandboxes

To list all running sandboxes, use the following command:
Bash
novita-sandbox-cli sandbox list

Filter by state

To filter the sandboxes by their state you can specify the --state flag, which can either be “running”, “paused” or both.
Bash
novita-sandbox-cli sandbox list --state running,paused
This will return all sandboxes, both running and paused.

Filter by metadata

To filter the sandboxes by their metadata, use the --metadata flag.
Bash
novita-sandbox-cli sandbox list --metadata key1=value1,key2=value2

List limit

To limit the amount of sandboxes returned by the command, use the --limit flag.
Bash
novita-sandbox-cli sandbox list --limit 10
By default, the command will return all sandboxes.