List Sandboxes
Updated at:
List sandboxes to inspect the sandbox instances visible under the current account. By default, the CLI returns running sandboxes.
e2b sandbox listTo view running and paused sandboxes together, specify states:
e2b sandbox list --state running,pausedYou can filter by metadata:
e2b sandbox list --metadata key1=value1,key2=value2You can limit the number of returned entries:
e2b sandbox list --limit 10You can switch the output format:
e2b sandbox list --format pretty
e2b sandbox list --format jsonThis command is useful for local debugging and resource inspection. Production systems should not rely on the CLI to manage sandbox lifecycles. Use the SDK or server-side control logic instead.
Is this page helpful?