# Risk

URL: https://docs.hanzo.ai/docs/cli/risk

> The `hanzo risk` commands.

Also for this capability: [API](https://docs.hanzo.ai/docs/openapi/risk) · **CLI** · [MCP](https://docs.hanzo.ai/docs/mcp-tools/risk) · [SDKs](https://docs.hanzo.ai/docs/sdks)

HANZO RISK's model plane: the per-organisation feature surface and the per-organisation models trained on it.

[API reference →](https://docs.hanzo.ai/docs/openapi/risk)

```bash
hanzo risk health
```

Every command takes `--json` for the raw response and `--help` for its own flags. Sign in once with `hanzo auth login`; the commands below use that session, and the org they act in is the one it carries.

| Command               | What it does                                                               |
| --------------------- | -------------------------------------------------------------------------- |
| `hanzo risk features` | The feature catalogue: what the model reads, and what your surface carries |
| `hanzo risk health`   | Whether the risk model plane can actually work right now                   |
| `hanzo risk learn`    | Teach your organisation's own model from its own events                    |
| `hanzo risk score`    | Score one event against your organisation's own model                      |

### Policy

| Command                     | What it does                                                                       |
| --------------------------- | ---------------------------------------------------------------------------------- |
| `hanzo risk policy get`     | Your organisation's decision-regime history, and which version is in force         |
| `hanzo risk policy replace` | State the decision regime: the appetite, the sample, and whether the model is live |

### Search

| Command                      | What it does                                                       |
| ---------------------------- | ------------------------------------------------------------------ |
| `hanzo risk search create`   | Search exhaustively for the model shape that fits your own history |
| `hanzo risk search get <id>` | Read back one exhaustive search                                    |

### State

| Command                          | What it does                                                            |
| -------------------------------- | ----------------------------------------------------------------------- |
| `hanzo risk state get`           | Report your organisation's model: what it learned, and what it realised |
| `hanzo risk state model create`  | Publish your organisation's model as a named, immutable value           |
| `hanzo risk state model replace` | Put one of your organisation's own published model values in force      |
