Agents & Machines
fleetDrainStatus
Fleet Drain Status
Read the drain state of your machines plus every agent run that stopped short and can be picked up.
Arguments
machineIdstringoptionalRead just this machine (machineId from listMachines). Omit for the whole fleet.
Returns
Also returns resumableRuns: runs that were checkpointed for a drain, and runs that were INTERRUPTED by an unclean death (a power cut): each with the branch its work is on.
Ask for it
The Cloud routes these requests to this verb.
- is the machine drained yet
- safe to unplug
- what is still checkpointing
- what did we lose when the box died
- anything to resume
Pair it with
The verbs that finish the job.