> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://stelltec.com/rhebok/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://stelltec.com/rhebok/docs/_mcp/server.

# Get install checks

GET http://127.0.0.1:7331/api/install

Runs the same install checks as `rhebok status` (binary, plugin,
marketplace, registration, PATH and so on), each failed one with a
fix, and adds the config file's problems and the embedding target. It
does not contact the embedder.


Reference: https://stelltec.com/rhebok/docs/api/install-and-health/get-install

## Response

### 200

The install state.

- `root` (string, required) — rhebok's data directory.
- `binary` (string, required) — The installed binary that hooks and agents run.
- `exe` (string, required) — The binary this dashboard is running from.
- `checks` (list of InstallCheck, required)
- `config` (InstallViewConfig, required)
- `embed` (EmbedTarget, required)

## Errors

### 421 Misdirected Request Error

The `Host` header does not name this dashboard (see the rules at the top of this page).

- `error` (string, required) — What went wrong, in plain words.

### 500 Internal Server Error

An unexpected server-side failure, such as failing to find the running binary, spawn a process, or read or write a file.

- `error` (string, required) — What went wrong, in plain words.

## Types

### InstallCheck

- `name` (string, required)
- `ok` (boolean, required)
- `detail` (string, required)
- `fix` (InstallFix, required, nullable) — How to repair a failed check, or null when the check passed.

### InstallViewConfig

- `path` (string, required)
- `errors` (list of FieldError, required)

### EmbedTarget

- `backend` (enum, required)
  - Allowed values: `ollama`, `remote`
- `url` (string, required, nullable)
- `model` (string, required, nullable)

### InstallFix

- `kind`: `connect` (Connect)
  - `agent` (string, required) — The agent to connect, which repairs the check.
- `kind`: `command` (Command)
  - `command` (string, required)
- `kind`: `manual` (Manual)
  - `text` (string, required)

### FieldError

One problem with `config.toml` or with a requested change.

- `path` (string, required) — The dotted key (`hook.threshold`), or `""` for a syntax error.
- `message` (string, required)
- `line` (integer, required, nullable) — The 1-based line in `config.toml`, or null when the problem has no single line.

## Examples

**Response**

```json
{
  "root": "/Users/me/Library/Application Support/rhebok",
  "binary": "/Users/me/Library/Application Support/rhebok/bin/rhebok",
  "exe": "/Users/me/Library/Application Support/rhebok/bin/rhebok",
  "checks": [
    {
      "name": "binary",
      "ok": true,
      "detail": "/Users/me/Library/Application Support/rhebok/bin/rhebok",
      "fix": null
    },
    {
      "name": "plugin",
      "ok": true,
      "detail": "/Users/me/Library/Application Support/rhebok/plugin (0.2.3)",
      "fix": null
    },
    {
      "name": "marketplace",
      "ok": true,
      "detail": "rhebok -> plugin directory",
      "fix": null
    },
    {
      "name": "registration",
      "ok": false,
      "detail": "rhebok@rhebok is not installed in Claude Code",
      "fix": {
        "kind": "connect",
        "agent": "claude-code"
      }
    },
    {
      "name": "path",
      "ok": false,
      "detail": "`rhebok` is not on PATH",
      "fix": {
        "kind": "command",
        "command": "\"/Users/me/Library/Application Support/rhebok/bin/rhebok\" install"
      }
    }
  ],
  "config": {
    "path": "/Users/me/Library/Application Support/rhebok/config.toml",
    "errors": []
  },
  "embed": {
    "backend": "ollama",
    "url": "http://localhost:11434",
    "model": "qwen3-embedding:0.6b"
  }
}
```

**SDK Code**

```python Install and health_getInstall_example
import requests

url = "http://127.0.0.1:7331/api/install"

response = requests.get(url)

print(response.json())
```

```javascript Install and health_getInstall_example
const url = 'http://127.0.0.1:7331/api/install';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Install and health_getInstall_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "http://127.0.0.1:7331/api/install"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Install and health_getInstall_example
require 'uri'
require 'net/http'

url = URI("http://127.0.0.1:7331/api/install")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Install and health_getInstall_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://127.0.0.1:7331/api/install")
  .asString();
```

```php Install and health_getInstall_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://127.0.0.1:7331/api/install');

echo $response->getBody();
```

```csharp Install and health_getInstall_example
using RestSharp;

var client = new RestClient("http://127.0.0.1:7331/api/install");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Install and health_getInstall_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "http://127.0.0.1:7331/api/install")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```