List machines
List returns every machine in your account, including sleeping machines. Each item includes its resources, autosleep setting, desired state, and current lifecycle phase.Parameters
Parameters
Retrieve a machine
Retrieve returns the latest view of one machine, including its resources, autosleep setting, desired state, and lifecycle status.Parameters
Parameters
string
required
The machine to retrieve.
Watch a machine
Watch streams lifecycle changes as Server-Sent Events (SSE). Each event contains the latest machine state. The stream closes when the machine reaches its desired state, so use it instead of polling after a lifecycle operation.Parameters
Parameters
Update a machine
Update changes one or more configured resources. Fields you leave out keep their current values.Parameters
Parameters
string
required
The machine to update.
number
CPU allocated to the machine, measured in virtual CPUs.
integer
Memory allocated to the machine, measured in mebibytes (MiB).
integer
Persistent storage allocated to the machine, measured in gibibytes (GiB).
string
Idle time before the machine sleeps. Accepts durations such as
30s, 15m, 2h, raw seconds,
or never to disable autosleep.