List the fleet
True when
FLY_API_TOKEN is set. When false, machines is empty and provisioning is disabled.The default agent body spec:
{ image, cpuKind, cpus, memoryMb, region, app }.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
Tags the machine to a workspace so it can be reused by
ensureAgentBody.A short description of what this body is for. Surfaced on the machine card.
Optional explicit agent id.
Optional human label.
The provisioned machine, waited until it reaches
started.Errors
| Status | Condition |
|---|---|
400 | Fly is not connected (FLY_API_TOKEN unset). |
500 | The Fly API returned an error (returned in error). |