> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# homelab api services

> Generierte Referenz für die Befehle unter homelab api services

> [!NOTE]
>
> Generated from the Homelab v0.41.15 release (source `b5b268760b34`). For an installed version, `homelab api <command> --help` is authoritative.

## homelab api services execute-application-adoption

Den exakt geprüften Quellenplan mit ausdrücklicher Owner-Freigabe ausführen.

Validiert den beibehaltenen Digest, die Quellenidentität, die Revision und das Release erneut. Nur ein authentifizierter Verwahrungsbeleg der gepinnten CLI begründet die Zugehörigkeit. Konten, Konfiguration und persistente Daten bleiben erhalten; es wird keine neue Runtime erstellt. Ein Wechsel auf einen anderen Node und eine generische Übernahme werden nicht unterstützt.

```bash theme={null}
homelab api services execute-application-adoption [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/services/{serviceId}/adoption-plans/{planId}/execute` |
| Ändert Zustand | Ja |
| MCP-Tool | `execute_application_adoption` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--plan-id` | string | **Erforderlich.** |
| `--expected-inventory-revision` | integer | **Erforderlich.** |
| `--mode` | string | Mögliche Werte: `adopt_in_place`. |
| `--owner-approved` | boolean | Standard `false`. |
| `--plan-digest` | string | — |
| `--body` | json | JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api services get

Gewünschten und beobachteten Zustand, Health-Status, Zugriff und Aktionsfähigkeiten für einen Service abrufen.

```bash theme={null}
homelab api services get <service-id> [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/services/{serviceId}` |
| Ändert Zustand | Nein |
| MCP-Tool | `get_service_runtime` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `<service-id>` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |

## homelab api services list

Kanonischen, gemessenen Service-Runtime-Zustand auflisten.

```bash theme={null}
homelab api services list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/services` |
| Ändert Zustand | Nein |
| MCP-Tool | `list_service_runtimes` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--stack-id` | string | — |
| `--server-id` | string | — |

## homelab api services logs

Die neueste begrenzte, geschwärzte StackKits-Service-Logseite lesen.

```bash theme={null}
homelab api services logs <service-id> [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/registry/services/{serviceId}/logs` |
| Ändert Zustand | Nein |
| MCP-Tool | `get_managed_service_logs` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `<service-id>` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--limit` | integer | Standard `100`. |
| `--cursor` | string | — |

## homelab api services metrics

Gemessene Ressourcenmetriken für einen eigenen Dienst lesen.

Verwendet das bestehende Guard-Telemetrie-Abfragebackend und legt Tenant, kanonischen Server und Container-Selektoren aus dem autorisierten Dienst-Inventory fest. Ein leerer Vektor bedeutet, dass keine Ressourcenmetrik gemessen wurde.

```bash theme={null}
homelab api services metrics [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/services/{serviceId}/metrics` |
| Ändert Zustand | Nein |
| MCP-Tool | `get_service_metrics` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** |

## homelab api services prepare-application-adoption

Einen exakten bestehenden Home-Assistant-Container für die Übernahme am bestehenden Ort bewerten.

Bewahrt die an die Quelle gebundene Bewertung im bestehenden dauerhaften Job-Store auf. Erfordert einen verbundenen Guard und das exakte geeignete veröffentlichte CLI-Release. Diese lesende Operation begründet keine Zugehörigkeit zu Stacked.

```bash theme={null}
homelab api services prepare-application-adoption [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/services/{serviceId}/adoption-plans` |
| Ändert Zustand | Ja |
| MCP-Tool | `prepare_application_adoption` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--expected-inventory-revision` | integer | **Erforderlich.** |
| `--mode` | string | Mögliche Werte: `adopt_in_place`. |
| `--owner-approved` | boolean | Standard `false`. |
| `--plan-digest` | string | — |
| `--body` | json | JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api services read-application-adoption-plan

Die beibehaltene Anwendungsbewertung und den dauerhaften Fortschritt lesen.

```bash theme={null}
homelab api services read-application-adoption-plan [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/services/{serviceId}/adoption-plans/{planId}` |
| Ändert Zustand | Nein |
| MCP-Tool | `read_application_adoption_plan` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--plan-id` | string | **Erforderlich.** |

## homelab api services read-application-connector

Den Status des Node-eigenen Connectors und die aktuelle veröffentlichte Transportzulassung lesen.

Gibt eine Projektion ohne Secrets zurück. Ein nicht verfügbarer unterstützender Katalog bleibt nicht ausführbarer SourcePreview; veraltete Nachweise an einem unterstützenden Pin erfordern eine aktuelle lesende Verifikation. Ausführbarkeit setzt außerdem die aktuelle kanonische Host-Schlüssel-, Node- und Lease-Autorität voraus.

```bash theme={null}
homelab api services read-application-connector [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/services/{serviceId}/connector` |
| Ändert Zustand | Nein |
| MCP-Tool | `read_application_connector` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |

## homelab api services release-application-lifecycle

Eine übernommene Lebenszyklusbindung lösen, ohne ihre Runtime zu löschen oder anzuhalten.

```bash theme={null}
homelab api services release-application-lifecycle [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/services/{serviceId}/release` |
| Ändert Zustand | Ja |
| MCP-Tool | `release_application_lifecycle` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--expected-inventory-revision` | integer | **Erforderlich.** |
| `--mode` | string | Mögliche Werte: `adopt_in_place`. |
| `--owner-approved` | boolean | Standard `false`. |
| `--plan-digest` | string | — |
| `--body` | json | JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api services run-action

Eine vom Owner autorisierte StackKits-Service-Aktion einreihen.

Leitet die Autorität für Stack, Server, Agent, Kit und Service aus einem frischen kanonischen Inventory ab. Exakte Wiederholungen konvergieren über einen dauerhaften Job-Beleg; der rohe Idempotency-Key wird nie gespeichert. Auf Änderungen folgt StackKits verify, bevor sich der gemessene Zustand ändert. Vom Agent ausgeführte Aktionen werden mit 409 `maintenance_active` abgelehnt, solange der Server neu gestartet oder aktualisiert wird.

```bash theme={null}
homelab api services run-action <service-id> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/registry/services/{serviceId}/actions` |
| Ändert Zustand | Ja |
| MCP-Tool | `run_managed_service_action` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `<service-id>` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--body` | json | **Erforderlich.** JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api services setup-application-connector

Einen deklarierten eigenen Home-Assistant-Connector auf seinem Node sicherstellen oder widerrufen.

Erfordert frische Backend-Ownership, eine positive operate-Autorisierung, exaktes aktuelles Inventory und eine Owner-Freigabe. Überträgt ausschließlich festgelegte Korrelationsmetadaten über Guard an die veröffentlichte gepinnte CLI; deren lokale signedApply- und Owner-Setup-Autorität bleiben verpflichtend. Speichert vor dem Versand eine dauerhafte Absicht; bei unbekannter Bestätigung wird ausschließlich der ursprüngliche Vorgang lesend abgeglichen. Der aktuellen v0.51.8 fehlt der unterstützende Katalog; sie gibt nicht ausführbaren SourcePreview zurück. Zugangsdaten verbleiben in der Verwahrung des Nodes.

```bash theme={null}
homelab api services setup-application-connector [flags]
```

> [!WARNING]
>
> Erfordert Bestätigung: Diese Operation stellt die geprüften Node-eigenen Home-Assistant-Connector-Zugangsdaten für genau diesen Dienst aus oder widerruft sie. Übergib `--yes` oder beantworte die Rückfrage; ein nicht interaktiver Lauf ohne `--yes` stoppt vor jeder Anfrage mit Exit-Code 9.

| | |
| - | - |
| HTTP | `POST /api/v1/services/{serviceId}/connector` |
| Ändert Zustand | Ja |
| MCP-Tool | `setup_application_connector` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--service-id` | string | **Erforderlich.** Kanonische Service-Runtime-ID. |
| `--action` | string | **Erforderlich.** Mögliche Werte: `ensure`, `revoke`. |
| `--expected-inventory-revision` | integer | **Erforderlich.** |
| `--lifespan-days` | integer | **Erforderlich.** |
| `--owner-approved` | boolean | **Erforderlich.** Mögliche Werte: `true`. |
| `--body` | json | JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api services verify-application-connector

Refresh the current node-owned connector through a distinct read-only job.

Retains the original signed setup operation and exact receipt, requires current published catalog and positive backend node/resource authority, and never reissues setup. Ordinary authenticated inventory reconciliation uses the same consumer for stale projections. Current v0.51.8 remains nondispatchable SourcePreview.

```bash theme={null}
homelab api services verify-application-connector [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/services/{serviceId}/connector/verify` |
| Changes state | No |
| MCP tool | `verify_application_connector` |

| Argument | Type | Description |
| - | - | - |
| `--service-id` | string | **Required.** Canonical service runtime ID. |
| `--body` | json | **Required.** JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.