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 registry services delete

Delete an archived service copy from the Registry. Removes the registry row of a service copy that a finished move left in the archived state. Any other status is refused with 409; no workload or server is touched. The canonical inventory store currently answers 503 service_control_server_fence_unavailable.
Requires confirmation: This operation removes the archived service copy from the Registry; the record cannot be restored. Pass --yes or answer the prompt; a non-interactive run without --yes stops before any request with exit code 9.

homelab api registry services import

Record an unmanaged service that already runs on an owned server. Adds an observed (unmanaged) service row for a server of an owned stack. The row is keyed by stack, server and service name, so repeating the call updates the same row. Nothing is deployed or probed. Either name or service_id is required and is normalized to a lower-case key. A stack the caller does not own is refused with 403 and an unknown stack or server with 404.

homelab api registry services import-home-assistant

Link an existing Home Assistant instance read-only. Probes a Home Assistant instance from a local executor with the long-lived access token held in the Wallet item token_wallet_item_id (a kombify Wallet item assigned to Homelab, or a built-in wallet API key or OAuth token item whose URL names this instance; resolved inside Homelab, never answered) and records a read-only observed service. This contract accepts no token. The token is used for this probe only and is never stored in the registry row. Self-hosted installs only (503 lan_executor_unavailable otherwise). The call is idempotent: an already linked instance returns existing: true without a new probe.

homelab api registry services list

List owned services with their catalog and canonical placement. Runtime records use the same state, capabilities, version and owner lock projection as service detail. Historical records remain readable with unknown observed state and no unmeasured action capabilities.