Computers
Resize computer
Change CPU, RAM, disk, or bandwidth on a running computer.
PATCH
Resize computer
Live-resizes a running computer’s CPU, RAM, disk, or bandwidth without rebooting. All fields are optional - only include what you want to change.
The computer must be in
running state. CPU and bandwidth changes apply instantly; RAM and disk grow online. Response surfaces the applied values, not the requested ones - if a dimension didn’t land, its previous value is returned.Path parameters
Computer ID.
Body parameters
New CPU count:
1, 2, 4, 8, or 16. Capped by your plan’s per-computer limit.New RAM in GB:
4, 8, 16, or 32. A live resize tops out at 32 GB (larger sizes are only available when the computer is first created). Also capped by your plan’s per-computer limit.New disk size in GB. Disk can only grow - shrinking is not supported.
New bandwidth cap in Mbps. Capped by your plan limit.
Optional: also update the auto-stop setting as part of the same call.
0 disables auto-stop.Response
Returns the effective configuration after the resize attempt. Values reflect what the VM actually accepted, not what you asked for.Effective CPU count.
Effective RAM in GB.
Effective disk size in GB.
Effective bandwidth limit in Mbps.
Echoes the requested
auto_stop_minutes if one was supplied.Per-dimension result breakdown (
{requested, applied, ok, error}). Only present if a resize operation ran.true if some dimensions failed while others succeeded.Status codes
200- All requested dimensions applied successfully207- Mixed result - some dimensions applied, others failed (checkresults)422- All requested dimensions failed
Example
Response
Errors
400- Invalid value (e.g. shrinking disk, value not in allowed list), or not a metal VM401- Invalid or missing API key403- Value exceeds your plan’s per-computer limit, or no access404- Computer not found409- Computer is not running422- All requested dimensions failed to apply
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer ID
Body
application/json
New CPU count. Capped by plan.
Available options:
1, 2, 4, 8, 16 New RAM in GB. Live resize is capped at 32 GB (the VMM boot-memory ceiling); larger sizes are only available at create time. Also capped by your plan.
Available options:
4, 8, 16, 32 New disk size in GB. Grow only — shrinking not supported.
New bandwidth cap in Mbps. Capped by plan.
Resize computer