get_sandbox
const url = 'https://app.everruns.com/api/v1/sessions/example/sandbox';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/sessions/example/sandboxGet the current session sandbox status (lease, runtime image, network access).
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Session ID
Responses
Section titled “ Responses ”Managed sandbox status
Response body for the get_session_sandbox operation.
object
Whether the session’s harness opts in to a managed sandbox at all.
Timestamp when this sandbox record was created (RFC 3339).
Human-readable sandbox label. Safe to render in user-facing messages.
Whether a sandbox instance currently exists for this session (within its lease).
Provider-side sandbox identifier (workspace ID, container ID, etc.).
Timestamp when sandbox initialization finished (RFC 3339); absent while still starting.
Most recent initialization error message; cleared on successful re-init.
Provider-specific metadata (URLs, ports, credentials envelopes).
object
Sandbox provider (daytona, e2b, docker, etc.) when one is configured.
Timestamp when this sandbox record was last updated (RFC 3339).
Absolute path of the sandbox workspace root (used to scope file operations).
Example
{ "session_status": "running"}Session not found