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 calls the Homelab API exactly as the API reference describes it: one command per public operation, generated from the release’s API contract. Every command prints JSON on stdout with the response envelope removed; errors go to stderr as the structured error object.

Authentication

Universal options

Commands marked as requiring confirmation ask for yes in a terminal. Without a terminal they refuse to send the request unless --yes is set, print a CONFIRMATION_REQUIRED error and exit with code 9.

Exit codes

Agent context

homelab api agent-context prints this command catalog for AI agents as Markdown, or as JSON with --json: every command with its usage, arguments, confirmation, availability and MCP tool name, plus the universal options and exit codes above.

Commands

API reference

The Homelab API reference in this section is generated from the same release’s public OpenAPI document.