Status
AgentMachine
The machine, or a
404 if it does not exist.Act on the machine
string
required
One of
suspend, start, or exec.string
Required when
action is exec. A bash command to run on the machine.number
Optional timeout for an
exec.suspend and start, the response is { ok: true, machine } with the refreshed machine. Suspend drops the machine to $0 compute; start resumes it warm.
For exec, the response is { ok, result } where result is { exitCode, stdout, stderr, durationMs } and ok is true when exitCode is 0.
Destroy
{ ok: true }.