Actions30
Sandbox → Pause
AI-generatedSummary
Pause a running E2B sandbox by its ID, requesting a memory snapshot during the pause.
Inputs
- Sandbox ID (required) — The ID of the sandbox to pause.
- Timeout — Timeout in seconds for the E2B operation (default 300 seconds).
Output shape
a single record containing the sandboxId and a boolean 'paused' status indicating success or failure of the pause operation.
If the pause request returns HTTP status 409, it indicates the sandbox could not be paused and 'paused' will be false. Otherwise, this operation returns true upon successful pause. Errors during the request will be thrown as exceptions.