--- title: "ktx status" description: "Check KTX setup and project readiness." --- Run the KTX readiness doctor. Inside a KTX project, this checks setup, project configuration, semantic search, connections, and related diagnostics. Outside a project, it checks local CLI setup readiness. ## Command signature ```bash ktx status [options] ``` ## Options | Flag | Description | Default | |------|-------------|---------| | `--json` | Print JSON output | `false` | | `--no-input` | Disable interactive terminal input | — | ## Examples ```bash # Show project status ktx status # Get status as JSON without interactive input ktx status --json --no-input ``` ## Output `ktx status` prints doctor checks. Agents should use `ktx status --json --no-input` when they need to branch on readiness state. ```json { "title": "KTX project doctor", "checks": [ { "id": "project-config", "label": "Project config", "status": "pass", "detail": "warehouse" } ] } ``` ## Common errors | Error | Cause | Recovery | |-------|-------|----------| | No KTX project found | Current directory has no `ktx.yaml` and `KTX_PROJECT_DIR` is unset | `ktx status` runs setup checks; run from a KTX project or set `KTX_PROJECT_DIR` for project checks | | Project config check fails | The project directory is missing or has an invalid `ktx.yaml` | Run `ktx setup` to resume setup | | Semantic search check warns | Embeddings are not configured or the provider probe failed | Run `ktx setup` or inspect the check's `fix` field in JSON output |