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

# Admin Commands

> Health checks, usage limits, AI specialization, and knowledge graph inspection

## vrin health

Check service availability and latency.

```bash theme={null}
vrin health
```

```bash theme={null}
vrin health --json
# {"ok": true, "data": {"status": "healthy", "latency_ms": 142}}
```

***

## vrin limits

Show your current plan, usage, and remaining quotas.

```bash theme={null}
vrin limits
```

```bash theme={null}
vrin limits --json
# {"ok": true, "data": {"plan": "pro", "queries_used": 847, "queries_limit": 5000, ...}}
```

***

## vrin specialize

Set a custom AI persona that shapes how VRIN responds to queries. Useful for domain-specific knowledge bases.

```bash theme={null}
# Set specialization
vrin specialize "You are a financial analyst. Focus on quantitative metrics, risk factors, and comparisons to industry benchmarks."

# Get current specialization
vrin specialize --get
```

### Options

| Flag     | Description                                        |
| -------- | -------------------------------------------------- |
| `--get`  | Show current specialization instead of setting one |
| `--json` | Force JSON output                                  |

***

## vrin graph

Get knowledge graph visualization data. Returns nodes (entities) and edges (relationships) for rendering.

```bash theme={null}
vrin graph --limit 50 --json
```

### Options

| Flag      | Short | Default | Description             |
| --------- | ----- | ------- | ----------------------- |
| `--limit` | `-n`  | `100`   | Maximum nodes to return |
| `--json`  |       |         | Force JSON output       |

### Example output

```json theme={null}
{
  "ok": true,
  "data": {
    "nodes": [
      {"id": "acme_corp", "label": "ACME Corp", "type": "organization"},
      {"id": "jane_smith", "label": "Jane Smith", "type": "person"}
    ],
    "edges": [
      {"source": "jane_smith", "target": "acme_corp", "label": "is_ceo_of"}
    ]
  }
}
```
