Skip to main content
Generated from the Homelab v0.49.2 release (source 2614eaba28d8). For an installed version, homelab api <command> --help is authoritative.

homelab api workers approve

Approve pending worker.

homelab api workers identity upgrade approve

Approve the key a legacy server proposed. Binds the pending key named by key_thumbprint, which makes the worker key-bound (bearer-only requests are denied afterwards). Requires the owner and a fresh multi-factor sign-in (at most 300 seconds old). The approving subject and time are recorded with the identity and logged. 409 identity_upgrade_not_pending when no unexpired pending key has that fingerprint.
Requires confirmation: This operation decides which key may command the server; approve only a key whose fingerprint the Guard logs on the server. Pass --yes or answer the prompt; a non-interactive run without --yes stops before any request with exit code 9.

homelab api workers identity upgrade reject

Discard the key a legacy server proposed. The owner’s reset when the pending key is not the server’s own: the proposal is discarded and must be made again. Rotating the server credential ends the holder’s access to the bind endpoint.

homelab api workers identity upgrade-status

Show whether a server still needs its identity key approved. For the owner of the worker. identity_binding=legacy_bearer with code=guard_identity_upgrade_required means the server authenticates with its bearer credential alone and is observe-only; pending carries the fingerprint of the key the server proposed, which the owner compares with the fingerprint the Guard logs on the server. A worker of another tenant or owner is 404.

homelab api workers identity upgrades

List the owner’s servers that wait for an identity key approval. For the owner. Each entry is a server of theirs that proposed a key and is observe-only until that exact key is approved with approveWorkerIdentityUpgrade (fresh multi-factor sign-in required). Entries carry the hostname and the key fingerprint to compare with the one the Guard logs on the server. Listing grants nothing.

homelab api workers list

List registered workers (filtered by owner).

homelab api workers outcomes list

List the unresolved operation outcomes of one kombify Guard. Lists the operations of an owned worker whose outcome is unknown: the kombify Guard recorded that the effect may or may not have happened and no observation settled it. Each one fences further changes on the server. state is reconciling while the Guard still tries to settle it and needs_operator once it stayed unresolved past the configured time (HOMELAB_GUARD_OUTCOME_NEEDS_OPERATOR_AFTER, default 30 minutes). The time only changes how the outcome is shown; it never releases the fence. Another tenant’s or owner’s worker is 404.

homelab api workers outcomes resolve

Release an unresolved kombify Guard operation outcome. Commits an append-only operator resolution revision for an operation whose outcome is unknown and releases the worker’s fence. disposition is verified_applied (the effect is in place), verified_not_applied (nothing happened) or accept_unknown (release without a verified outcome); note records what was verified. The actor is the authenticated subject and is recorded with the revision; a Guard cannot commit these dispositions. The person’s own session needs a fresh multi-factor sign-in (at most 300 seconds old); an agent acting for the person needs none. expected_revision must be the revision the list returned, otherwise 409 outcome_revision_stale. The body is decoded strictly: exact keys, no unknown fields.
Requires confirmation: This operation releases the fence of an operation whose outcome was never settled, so conflicting changes may run against the server. Pass --yes or answer the prompt; a non-interactive run without --yes stops before any request with exit code 9.

homelab api workers tenant-handoff confirm

Confirm the handoff of a retired server’s command evidence. The owner, as custodian of a detached or retired server, confirms that the command evidence its Guard still holds (journal entries, outcomes and identity state) may leave the server by export (an archive the operator takes off the server) or quarantine (a root-only directory outside the Guard state). The response shows a one-time confirmation exactly once and is valid for 72 hours. It is bound to the host key the worker used. The operator passes it to homelab agent handoff —server --confirmation-file, which has the control plane verify it for this server’s key, then moves and securely removes the evidence and records a receipt. Pairing a server whose host key served another tenant, or that declares another tenant’s evidence, is refused (409 tenant_handoff_required) until a receipt of that tenant is consumed. A receipt is consumed once, by the pairing that proves the confirmed key, before expiry; only that pairing may repeat it within 15 minutes (409 tenant_handoff_invalid otherwise). Requires the owner and a fresh multi-factor sign-in (at most 300 seconds old). 409 tenant_handoff_worker_active while the worker is not revoked or rejected, 409 tenant_handoff_unbindable for a worker that never bound a host key. A worker of another tenant or owner is 404.

homelab api workers updates set

Set a server’s update setting. Stores the server’s update setting (ask, automatic or with_stackkits_releases) for the owner of the worker and records the change with its actor in the audit log. Reversible.

homelab api workers updates show

Read a server’s update setting and pending StackKits release. For the owner of the worker. behavior is the server’s one update setting for its StackKits release and the applications it manages (D-2026-11-12-06): ask (default; checked application versions are offered with one click), automatic (StackKits releases start without a click; checked application versions apply in the maintenance window once that action exists) or with_stackkits_releases (applications change only with a StackKits release). Security fixes are offered in every setting. The per-application facts are on the service version.