You can list all sandboxes using the following command:Documentation Index
Fetch the complete documentation index at: https://e2b.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
--state to get paused or both.
Filter by state
To filter the sandboxes by their state you can specify the--state flag, which can either be “running”, “paused” or both.
Filter by metadata
To filter the sandboxes by their metadata, use the--metadata flag.
List limit
To limit the amount of sandboxes returned by the command, use the--limit flag.
Output format
To output the sandboxes in JSON format, use the--format flag.
Pretty print (default)