Skip to content

List sandboxes

To list all sandboxes, use the following command:

agentbox sandbox list

This will return all sandboxes, both running and paused.

To filter the sandboxes by their state you can specify the —state flag, which can either be “running”, “paused” or both.

agentbox sandbox list --state running,paused

To filter the sandboxes by their metadata, use the —metadata flag.

agentbox sandbox list --metadata key1=value1,key2=value2

To limit the amount of sandboxes returned by the command, use the —limit flag.

The default limit is 10.

agentbox sandbox list --limit 10