Skip to main content
POST
Suspend computer
Suspends a running computer. Its memory and disk are saved, so open windows and running processes pick up exactly where they were. A suspended computer may be moved off its host to storage. Resume or Start then wakes it in about a minute.
Suspend is available for Linux computers without a GPU. A computer that wakes from storage gets a new instance_id, so keep its UUID as your handle and re-fetch GET /computers/{id} after a wake. To release a computer and keep only its disk, use Stop instead.

Path parameters

string
required
Computer UUID or instance_id. Both resolve to the same computer.

Response

boolean
true when the computer is suspended, or its suspend is being saved.
string
suspended with 200: the computer is paused. suspending with 202: its memory is still being saved. Poll Get suspension until status reads suspended.
object
Present only when the computer’s copy is being saved to storage in the background: { "state": "saving", "region": "…" }. region can be null. The computer can be resumed or deleted meanwhile.
Suspending is idempotent. A computer that is already suspended returns 200 with status: "suspended", and one whose suspend is still being saved returns 202 with status: "suspending".

Example

Response

Errors

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required

Computer UUID or instance_id

Response

Suspended. storage is present when its copy is being saved to storage in the background.

success
boolean
status
enum<string>
Available options:
suspended
storage
object