Connect to sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Authorizations
Path Parameters
Body
Timeout in seconds from the current time after which the sandbox should expire
x >= 0Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore.
Response
The sandbox was already running
Identifier of the template from which is the sandbox created
Identifier of the sandbox
Identifier of the client
Version of the envd running in the sandbox
Alias of the template
Access token for authenticating envd requests to this sandbox. Only returned when the sandbox is created with secure: true. Null for non-secure sandboxes (envd endpoints work without auth).
Token required for accessing sandbox via proxy.
Deprecated: always null. Construct sandbox URLs as https://{port}-{sandboxID}.e2b.app.