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 jobs get

Get the current state of one owned job. This is the canonical polling surface for the UI, API clients, MCP tools, and agents. waiting_enrollment exposes a non-terminal wait; access to the target remains unavailable until the job resumes and reaches a terminal success state. Every mutating managed service action (run_managed_service_action start, stop, restart, update, backup) runs as a governed action card, not a job: read its outcome back with get_action_card and its action_card_id.

homelab api jobs list

List jobs owned by the authenticated user. Returns the same owner-scoped job state used by the operator UI and automation clients. A job with state: waiting remains active and the current orchestrator process schedules its next check; it is not a failed provider action. If that schedule becomes stale after a process restart, use the exact-target resumeStackEnrollment operation.

homelab api jobs logs

Get job logs.

homelab api jobs stats

Get job queue statistics.