> ## 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.

# stackkit diagnose

> Observe host health and emit a redacted, secret-free diagnostic snapshot (ADR-0051)

Observe host health and emit a redacted, secret-free diagnostic snapshot (ADR-0051).

```bash theme={null}
stackkit diagnose [flags]
```

| Flag | Type | Default | Description |
| - | - | - | - |
| `--json` | bool | — | Emit the secret-free observation snapshot as JSON |
| `--snapshot-path` | string | — | Override snapshot output path (default .stackkit/runtime/observation-snapshot.json) |
| `--write-snapshot` | bool | — | Atomically write the redacted observation snapshot for stackkit-server read-only mount |


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