Skip to Content
ReferenceToolsmachines_list

machines_list

The owner’s machines: name, id, state (online; stale = linked, not answering; paused; offline), last_seen, activity, tools, build, behind (newer release out). Only online ones take calls.

Arguments

No arguments.

Result

The result has no fields.

Examples

{ "name": "machines_list", "arguments": {} }

Limits

The token is the only check: no risk class applies, and the call is not counted against the plan. A call with machine set, or with sealed instead of args, returns bad_args. A refused call returns one of the error codes.

Notes

state is one of:

StateMeaning
onlineConnected and answering: calls go through.
staleConnected, but nothing heard from it for more than 50 seconds: asleep, frozen or cut off.
pausedIts owner paused it: no tool runs until they resume it on the machine.
offlineNot connected: off, asleep, or cmdop is not running on it.

Call machines_list before a machine tool. Only an online machine takes calls: for any other state, tell the user instead of retrying. A call to it returns offline (with details.reason stale or no_link) or paused at once, and a call already waiting on a machine that goes quiet ends with offline when it turns stale.