Extend a running sandbox without shortening its deadline
Extend a running sandbox only when it needs a later expiry; this never resumes a paused sandbox. Timeout is seconds from now, not added to the prior deadline, and must be 900, 1800 or 3600. Returns 409 for paused, expired, or non-extending requests.
Call Create sandbox first and replace sbx_123 with its returned sandboxID.
/sandbox/v1/sandboxes/{sandboxID}/extend● SupportedRequest parameters
sandboxIDstring必填path: Sandbox ID.
timeoutnumber必填Seconds from now: 900, 1800, or 3600. Must extend the existing deadline.
Returns
200
Errors follow the E2B format — see error codes
Response
HTTP 200
Authoritative extended deadline
application/json
| Name | Type | Description |
|---|---|---|
| endAt | string | New expiry time of the sandbox, UTC. |
Get sandbox logs
Read sandbox logs with cursor, direction, level and text filters.
List live processes and retained observations
Inspect live processes and retained observations; this does not start a command. Praxis observation, not complete provider history. Only a witnessed exit event establishes exitCode; disconnects and restarts leave gaps and unknown state. Output retains at most 1 MiB/1024 chunks per process and 4 MiB/4096 chunks per instance across 256 observations. Truncation is explicit. Output data is base64; timestamps are Unix milliseconds. Reading never resumes a paused sandbox.