Learning resourcesReviewed · E2B

List sandboxes with the E2B CLI

This E2B CLI guide shows developers how to find sandboxes, but it does not explain installation or authentication. It documents filters for state, metadata, template and start time, plus sorting, result limits and JSON output.

Researched 15 Nov 2026

In short.

This E2B CLI guide helps developers inspect sandbox lists, but the command defaults to running sandboxes and at most 1,000 results. It explains how to include paused sandboxes, filter results, sort by start time, remove the result cap and request JSON. Installation, authentication, pricing, version compatibility and output schema are unspecified. Runtime behavior has not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.e2b.dev/cli/list-sandboxes.md]. Its documentation-index notice links to [https://docs.e2b.dev/llms.txt]; that index and all linked pages are excluded. Installation, pricing, licensing and broader E2B capabilities are not established by this page. Command execution, actual output and runtime behavior were not assessed.

The overview

Identity

List sandboxes with the CLI is an E2B documentation page about the e2b sandbox list command. Its source address is [https://docs.e2b.dev/cli/list-sandboxes.md]. It is a focused command reference rather than a complete introduction to E2B.

Assessment

Useful for developers who already have CLI access and need to locate particular sandboxes. The page gives concrete syntax and important defaults. Its usefulness for reliable automation is limited by missing JSON schema, exit-code documentation and error examples.

Users

The examples suit developers inspecting running or paused sandboxes, finding instances associated with metadata or a template, and requesting JSON for programmatic processing. Beginners will need separate instructions for installing and configuring the CLI.

Capabilities

State filtering accepts running, paused or both. Other filters accept metadata key-value pairs, a template ID or alias, and an ISO 8601 start-time threshold. The start-time filter includes sandboxes started at or after the specified time.

The command supports ascending or descending sorting by start time, a configurable result limit, and pretty or JSON output. Pretty output is the default.

Using it

Requirements

Using the examples requires the e2b command to be available in a terminal. The page does not specify installation dependencies, supported operating systems, minimum CLI version, credentials or account permissions.

Mechanism

The base command, e2b sandbox list, returns running sandboxes. Flags control which sandboxes are requested and how the results are presented. The default maximum is 1,000 sandboxes; --limit 0 requests all matching sandboxes without that result cap.

The page does not explain the underlying API, pagination implementation or how multiple metadata conditions are matched.

Setup

The instructions begin with e2b sandbox list and assume the CLI is ready to use. No installation, sign-in or configuration procedure is supplied. Once access is configured, the documented flags provide the next steps for narrowing or formatting results.

Example

To include both documented states, the page gives e2b sandbox list --state running,paused. To filter by template, it gives e2b sandbox list --template base, where the template argument can be an ID or alias.

For machine-readable output, the documented example is e2b sandbox list --format json. No resulting JSON or other command output is shown.

Assessment & evidence

Limitations

The reference does not show output fields, error handling, exit codes, rate limits or performance characteristics. It also leaves unspecified which account or organizational scope the list covers. No commands were executed, so operational correctness and reliability are not assessed.

Practical implications

Two defaults matter when interpreting an inventory: paused sandboxes are excluded, and results are capped at 1,000. A default listing therefore cannot establish a complete inventory that includes paused instances. The state choice and result limit both need attention for that task.

Alternatives

Within this command, pretty output provides the default display, while JSON offers a structured output option. The page provides no comparison with a dashboard, SDK, another CLI or another sandbox service; relative suitability is unknown.

Evidence

The evidence consists of the complete documentation page at [https://docs.e2b.dev/cli/list-sandboxes.md], including its command examples and stated defaults. It supplies documentation claims without execution results.

The captured source revision is sha256:c4cb2766b0a5d5a34351be0adbc7d115ea593987ff70a33d77977c864a812a64.

Access & freshness

Costs

The page supplies no pricing, subscription requirements or billing information. The cost of using the CLI or listing sandboxes is unknown.

Rights

The supplied page contains no license or redistribution terms. Redistribution rights for the documentation and licensing terms for the CLI are unknown.

Freshness

The supplied snapshot was captured on 2026-11-15 at 07:11:07 UTC. The page states no publication date, update date or applicable CLI version. Compatibility with a particular installed version is unknown.

Next steps

Establish CLI installation and access requirements before using the examples. Choose states and limits deliberately when seeking a complete inventory. Before building automation around JSON output, confirm the installed version's output fields and failure behavior; this page does not define them.

Evidence for this report

selected-page.txtselected · checked 2026-11-15