E2B icon

E2B

Run commands and manage E2B sandboxes and snapshots

Volume → Create

AI-generated

Summary

Creates a new persistent E2B storage volume.

Inputs

  • volumeName (required) — Name for the new persistent E2B volume.
  • timeoutSeconds — Timeout in seconds for the API operation. Defaults to 300.

Output shape

a single record

Returns a record containing volumeId, name, and optionally an authentication token if returned by the E2B API.

Examples

Example 1: Create a persistent data volume for custom sandboxes

Set Volume Name to "persistent-app-data".

Links

Discussion