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 unifier analyze

Analyze spec to get requirements (Phase 1). Safe, idempotent. Returns hardware requirements, detected add-ons, required credentials.

homelab api unifier discard-creation-draft

End the signed-in owner’s draft of one creation process. Removes the owner’s draft of one creation process, after an accepted create or when the owner leaves it. Removing a draft that does not exist succeeds.
Requires confirmation: This operation discards the owner’s unfinished answers for this creation process. Pass --yes or answer the prompt; a non-interactive run without --yes stops before any request with exit code 9.

homelab api unifier get-creation-draft

Read where the signed-in owner stands in one creation process. Returns the owner’s draft of one creation process: the current and furthest step and the non-secret answers, so a creation started in one frame (the kombify Cloud popup, a sheet, one step) continues in another one or on another device. An expired draft is gone; without a draft the answer is draft: null.

homelab api unifier layout recommend

Compute and record a verified workload layout for a planned change. Plans where the selected goals run for an add-server or add-use-case change. An add-server change is planned on the nodes of its owned StackKit deployment; an add-use-case change is planned over every server of the owner’s homelab in the tenant (all owned deployments and connected bare servers), and target names where it is carried out: extend a deployment (the one in stack_id or another one), or found a new deployment on a bare server (information only). Verifies the option with the pinned StackKits feasibility check and, when it is feasible, records it as an open recommendation the owner can accept inside the wizard run on the target deployment, reject or snooze. An option that is not verified is returned with state unverified and no id. pins carries the owner’s “Choose another server” choices of an add-use-case change (use case id to server id): the planner re-solves with them on the deployment that declares the chosen servers, and the result is verified like any other; a server outside the owner’s deployments in this tenant is refused with layout_pin_server_unavailable. Records the proposal but changes no infrastructure.

homelab api unifier layout reject

Reject one layout recommendation. Marks an open or snoozed layout recommendation of the authenticated owner as rejected so it is no longer offered, and answers its updated view. A recommendation in any other state answers 409 layout_recommendation_changed.

homelab api unifier layout snooze

Snooze one layout recommendation until a later time. Hides an open or snoozed layout recommendation of the authenticated owner until until, which must lie in the future and within 90 days, and answers its updated view. A recommendation in any other state answers 409 layout_recommendation_changed.

homelab api unifier pipeline preview

Preview pipeline results without side effects. Safe, idempotent. Shows what would be generated. Backend validation or StackKit resolution failures return 200 with data.valid=false and structured data.errors; malformed input and auth failures remain HTTP errors.

homelab api unifier pipeline run

Run full unifier pipeline (validate + analyze + unify + generate). Side-effecting — generates IaC output files.

homelab api unifier pipeline validate

Validate pipeline inputs without executing.

homelab api unifier put-creation-draft

Keep where the signed-in owner stands in one creation process. Replaces the owner’s draft of one creation process and renews its expiry (seven days after the last write). The body is decoded strictly. Answers that carry a password, passphrase, token, key or other secret in a field named for it are refused with creation_draft_secret_field, never stored or stripped; the answer names the field, never its value. The owner’s expired drafts are removed with the write.

homelab api unifier recommendations

Rank StackKits for the goals and services of a wizard selection. Computes ranked StackKit recommendations from the selected goals, the deployment lane and surface, and the authenticated owner’s worker inventory and self-disclosure. Safe and idempotent: nothing is stored. A non-ready status (incomplete, stale, degraded) is still a useful answer that names the evidence to supply.

homelab api unifier unify

Unify specifications (Phase 2).

homelab api unifier validate

Validate a stack specification against CUE schemas. Safe, idempotent. No side effects.