CLI reference — Runners
Generated by
bun run generate:cli-referencefromspec/admin-api-openapi.json. Do not hand-edit — regenerate after refreshing the spec.
Every operation below is documented CLI-first (nayaone-admin api <operationId>)
per PRD-407/DO-7.
The REST /admin-api/* method+path is the fallback/alternative integration option.
13 operations in this area.
adminConvergeRunner
Section titled “adminConvergeRunner”Converge a runner’s owning infra-<vendor> partition (preview|up|refresh; destroy forbidden) (Admin only)
CLI (preferred):
nayaone-admin api adminConvergeRunner --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/converge
adminCreateRunner
Section titled “adminCreateRunner”Create a runner (Admin only)
CLI (preferred):
nayaone-admin api adminCreateRunner --body '{}'REST fallback: POST /admin-api/runners
adminDeleteRunner
Section titled “adminDeleteRunner”Delete a runner (Admin only)
CLI (preferred):
nayaone-admin api adminDeleteRunner --param id=<id> --body '{}'REST fallback: DELETE /admin-api/runners/{id}
adminListFleetCost
Section titled “adminListFleetCost”Runner fleet cost (Admin only) — current or entirety mode
CLI (preferred):
nayaone-admin api adminListFleetCostREST fallback: GET /admin-api/runners/cost
adminListRunnerResources
Section titled “adminListRunnerResources”Get infrastructure resources for a runner (Admin only)
CLI (preferred):
nayaone-admin api adminListRunnerResources --param id=<id>REST fallback: GET /admin-api/runners/{id}/resources
adminPatchRunner
Section titled “adminPatchRunner”Mutate runner spec (Admin only) — PRD-181
CLI (preferred):
nayaone-admin api adminPatchRunner --param id=<id> --body '{}'REST fallback: PATCH /admin-api/runners/{id}
adminReconcileRunnerTunnel
Section titled “adminReconcileRunnerTunnel”Reconcile runner CF tunnel (W-2/W-3) without infra VM rebuild (Admin only)
CLI (preferred):
nayaone-admin api adminReconcileRunnerTunnel --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/reconcile-tunnel
adminRetryRunnerProvision
Section titled “adminRetryRunnerProvision”Retry runner provisioning dispatch (Admin only)
CLI (preferred):
nayaone-admin api adminRetryRunnerProvision --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/retry-provision
adminSyncRunner
Section titled “adminSyncRunner”Sync runner status (Admin only)
CLI (preferred):
nayaone-admin api adminSyncRunner --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/sync
getRunnerBundle
Section titled “getRunnerBundle”RunnerDetail page bundle (PRD-132)
CLI (preferred):
nayaone-admin api getRunnerBundle --param runnerId=<runnerId>REST fallback: GET /admin-api/runners/{runnerId}/bundle
getRunnerMeshPeers
Section titled “getRunnerMeshPeers”PRD-92 S-1 — the runner’s Headscale mesh peers (control-plane view)
CLI (preferred):
nayaone-admin api getRunnerMeshPeers --param runnerId=<runnerId>REST fallback: GET /admin-api/runners/{runnerId}/mesh-peers
mintRunnerTailscaleBootstrapEnv
Section titled “mintRunnerTailscaleBootstrapEnv”Mint a single-use Headscale preauth key for a runner (internal — cloud-init)
CLI (preferred):
nayaone-admin api mintRunnerTailscaleBootstrapEnv --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/tailscale-bootstrap-env
submitRunnerStatus
Section titled “submitRunnerStatus”Runner status callback (internal — startup script / infra.yml)
CLI (preferred):
nayaone-admin api submitRunnerStatus --param id=<id> --body '{}'REST fallback: POST /admin-api/runners/{id}/status