List the organization's Sandboxes across providers: running, paused, lost and deleted, with filters.
const url = 'https://app.everruns.com/api/v1/sandboxes';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/sandboxesParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Comma-separated states: running, paused, lost, starting,
failed, not_started, deleted, or live for the first five.
Comma-separated provider ids, such as daytona,modal.
Only Sandboxes of Sessions that ran this Agent.
Only Sandboxes created from this Sandbox Template.
Only Sandboxes with at least one attention reason.
Case-insensitive match on Session title, Agent, provider or provider resource id.
Include in-process targets (virtual filesystem, host), which have no provider resource.
Page size, 1 to 200. Defaults to 50.
Rows to skip.
Responses
Section titled “ Responses ”Success
A page of the fleet.
object
One logical Sandbox in the organization.
object
Agent the Session ran.
Agent display name.
Why this Sandbox needs attention: lost, failed, init_failed,
idle_running (running with no activity for an hour) or cleanup_failed.
Committed workspace checkpoints.
Lifecycle intent the control plane is moving the Sandbox toward: ready, paused or deleted.
Provider’s id for the latest physical resource.
Incarnation counter. Above 1 means the provider resource was lost and rebuilt.
Durable logical Sandbox id. Stays the same when the provider resource is replaced.
Inactivity interval before the Sandbox is paused.
Last recorded tool activity or state change.
Error from the latest init commands, if they failed.
Provider id, such as daytona, modal or docker.
primary (addressed implicitly by shell and file tools) or resource.
Owning Session; absent once the Session is deleted.
Session title, kept after the Session is deleted.
running, paused, lost, starting, failed, not_started or deleted.
Target kind from the pinned specification: managed, container, machine, vfs or host.
Working directory inside the Sandbox.
Sandboxes matching the filters.
Example
{ "items": [ { "agent_name": "Coder", "checkpoint_count": 12, "desired_state": "ready", "external_id": "dtn-7f3a91c2", "generation": 1, "id": "sandbox_01933b5a00007000800000000000001", "idle_after_seconds": 300, "provider": "daytona", "role": "primary", "session_title": "Fix flaky CI", "state": "running", "target_kind": "managed", "template": { "display_name": "Coding - Daytona", "id": "sbxtpl_01933b5a00007000800000000000001", "revision": 4 }, "workspace_path": "/home/daytona/workspace" } ]}