E2B icon

E2B

Run commands and manage E2B sandboxes and snapshots

Volume → Get

AI-generated

Summary

Retrieve details for a specific persistent E2B volume using its ID.

Inputs

  • volumeId (required) — The unique ID of the persistent E2B volume to retrieve.
  • timeoutSeconds — Timeout in seconds for the operation API request (defaults to 300).

Output shape

a single record

Returns a JSON object containing volume information including volumeId, name, and optionally token if provided by the API.

Examples

Example 1: Retrieve metadata for a known E2B volume

Set Volume ID to 'vol_abc123'.

Links

Discussion