List the fleet
boolean
True when
FLY_API_TOKEN is set. When false, machines is empty and provisioning is disabled.object
The default agent body spec:
{ image, cpuKind, cpus, memoryMb, region, app }.AgentMachine[]
The live fleet. Each machine includes
id, name, state, region, image, cpuKind, cpus, memoryMb, role, agentId, workspaceId, goal, createdAt, uptimeMs, and computeCostUsd.Provision a machine
string
Tags the machine to a workspace so it can be reused by
ensureAgentBody.string
A short description of what this body is for. Surfaced on the machine card.
string
Optional explicit agent id.
string
Optional human label.
AgentMachine
The provisioned machine, waited until it reaches
started.