Sandbox list
List the authenticated user's sandboxes.
Responses
Successful response
idstring · requireduser_idstring · requiredtemplatestring · requiredstaterequiredSandbox lifecycle state change. Published by sandbox-manager on Redis (
sandbox:events:<userId>), re-emitted by backend to subscribed frontends.- On create/pause/resume/error/terminate:
sandboxholds the full record. - On delete:
deleted: trueandsandboxis omitted; frontend drops the row.
- On create/pause/resume/error/terminate:
ip_addressrequiredtap_devicerequiredpidrequiredcreated_atnumber · requiredlast_activitynumber · requirederrorrequired
kindDefaults to 'vm' for legacy records that pre-date the field.
sizeVmSize tier; not modelled in TS — frontend passes through as-is.
device_idstringId of the backend Device row representing this sandbox's bridge. Lite: set at create time. VM: set after the bridge enrolls and the backend calls
attach-device. Absent when not yet linked.
Sandbox upgrade
The cloud machine size the plan includes and the purchased upgrade (null = plan size), with its credit price. Default: your own; ownerId (+ userId) = a member's machine on a workspace you own or admin.
Responses
Successful response
planobject · requiredupgraderequiredpendingDiskrequireddailyUsdnumber · requiredmonthlyUsdnumber · requiredpayerIdstring · required
Sandbox setUpgrade
Buy a bigger cloud machine (memory GB, vCPUs, disk GB) from credits, charged daily; null returns to the plan size. A running machine restarts to apply; files are kept. With ownerId (owner or admin there) that workspace's credit pays, for userId (default: yourself).
Responses
Successful response
planobject · requiredupgraderequiredpendingDiskrequireddailyUsdnumber · requiredmonthlyUsdnumber · requiredpayerIdstring · required
Sandbox machines
Everyone's cloud machine on a workspace (default: your own) and its monthly price, charged daily from the owner's credit.
Responses
Successful response
ownerIdstring · requiredbilledboolean · requiredFalse on the free plan: machines come with the plan, nothing to change.
includedrequiredEvery person in a workspace has their own cloud machine: small or large.
peopleobject[] · requiredcovered: the size their own plan or an earlier workspace already pays for (charged only above it).upgrade: bought resources above the machine (VmUpgradeService), what they cost a month, and whether this workspace pays it (else the person's own credit or another workspace).pricesobject · requiredConstruct a type with a set of properties K of type T
monthlyUsdnumber · requireddailyUsdnumber · required
paidUntilnumberPaid until (ms); past it the machines fall back to each person's own plan size.
upgradesMonthlyUsdnumberUpgrades this workspace pays on top of
monthlyUsd(charged daily by VmUpgradeService).
Sandbox setMachine
Owner or admin: set one person's cloud machine (medium = small, large). Today's difference is charged from the owner's credit; a running machine restarts to apply, files are kept.
Request Body
userIdstring · requiredWhose machine; the owner's own id for their own.
machinerequiredEvery person in a workspace has their own cloud machine: small or large.
ownerIdstring
Responses
Successful response
ownerIdstring · requiredbilledboolean · requiredFalse on the free plan: machines come with the plan, nothing to change.
includedrequiredEvery person in a workspace has their own cloud machine: small or large.
peopleobject[] · requiredcovered: the size their own plan or an earlier workspace already pays for (charged only above it).upgrade: bought resources above the machine (VmUpgradeService), what they cost a month, and whether this workspace pays it (else the person's own credit or another workspace).pricesobject · requiredConstruct a type with a set of properties K of type T
monthlyUsdnumber · requireddailyUsdnumber · required
paidUntilnumberPaid until (ms); past it the machines fall back to each person's own plan size.
upgradesMonthlyUsdnumberUpgrades this workspace pays on top of
monthlyUsd(charged daily by VmUpgradeService).