> ## 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 provider-operations

> Generated reference for the homelab api provider-operations commands

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

## homelab api provider-operations provision-discovery

Observe what the provider holds for one parked provision operation.

First step of operator resolution for a provision whose outcome is unknown. Reads the provider (read-only) and appends the immutable discovery evidence; it never creates or retries anything at the provider. A replay re-verifies the same observation. The answer names the confirmation string the second step requires. Administrator-only: a non-administrator caller is refused with 403, and the operation must belong to the caller's tenant.

```bash theme={null}
homelab api provider-operations provision-discovery <operation-id> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/provider-operations/{operationId}/provision-discovery` |
| Changes state | Yes |
| MCP tool | `discover_provider_provision` |

| Argument | Type | Description |
| - | - | - |
| `<operation-id>` | string | **Required.** Provider operation id (non-empty, at most 256 characters, no whitespace or control characters). |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |

## homelab api provider-operations provision-resolution

Record the operator decision for one parked provision operation.

Second step of operator resolution. With the exact confirmation from the discovery step it appends one decision against the persisted observation: no candidate, adopt the single exact candidate, or quarantine several. The decision is local custody state and never starts or retries provider creation. Replays return the original decision. Administrator-only; a stale or mismatching observation answers 409.

```bash theme={null}
homelab api provider-operations provision-resolution <operation-id> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/provider-operations/{operationId}/provision-resolution` |
| Changes state | Yes |
| MCP tool | `resolve_provider_provision` |

| Argument | Type | Description |
| - | - | - |
| `<operation-id>` | string | **Required.** Provider operation id (non-empty, at most 256 characters, no whitespace or control characters). |
| `--confirmation` | string | **Required.** Must equal required\_confirmation from the discovery step (adopt-provision:\<operationId>). |
| `--body` | json | 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.