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 discovery cache clear

Clear discovery cache (admin only).
Requires confirmation: This operation discards every cached discovery result; the next discovery rescans the network. Pass --yes or answer the prompt; a non-interactive run without --yes stops before any request with exit code 9.

homelab api discovery devices get

Get caller-owned discovered device.

homelab api discovery devices list

List caller-owned discovered devices. Returns only devices produced by scans owned by the authenticated caller.

homelab api discovery devices probe

Deep probe a caller-owned device. Logs in to the device over SSH with the login held in the Wallet item ssh_wallet_item_id (a kombify Wallet node access item assigned to Homelab and bound to this IP or to no host, or an SSH key or password item of the built-in wallet whose URL names this IP) and reads its system facts. The login is resolved inside Homelab for this probe only and never answered. This contract accepts no password or private key. Non-admin callers may only probe IPs from their own discovery results; admins may probe arbitrary IPs. Local control planes only (409 lan_executor_required on a hosted one).

homelab api discovery networks

Get local network interfaces.

homelab api discovery scans cancel

Cancel running scan.

homelab api discovery scans enrich

Enrich scan results with additional data.

homelab api discovery scans get

Get scan status and results.

homelab api discovery scans start

Start network scan (async).

homelab api discovery stats

Get discovery statistics (admin only).

homelab api discovery test-ssh

Test SSH connectivity to a device. Opens one SSH connection with the login held in the Wallet item ssh_wallet_item_id (its key when it holds one, otherwise its password; a built-in wallet item must name this IP as its URL), resolved inside Homelab and never answered; nothing is stored. This contract accepts no password. A failed connection answers 200 with success: false. Non-admin callers may only test IPs from their own discovery results; admins may test arbitrary IPs. Local control planes only.