unbound chat lets you ask questions about your AI usage data in natural language. It renders charts and tables directly in the terminal.
Requires Admin or Manager role. Run unbound status to check.
Interactive session
Start a multi-turn REPL:| Command | Action |
|---|---|
/help | Show available commands |
/json | Print the last result as JSON |
/export <path> | Write the last result to a file |
/clear | Reset conversation history in memory |
/exit | Quit (Ctrl+C also works) |
--no-suggestions to skip the follow-up question picker after each turn.
One-shot mode
Ask a single question and exit:-m call sends no history — keep prompts self-contained.
Output flags
| Flag | Behavior |
|---|---|
--json | Write raw JSON response to stdout |
-o <path> | Write raw JSON to a file (refuses to overwrite existing files) |
JSON response shape
| Intent | Meaning |
|---|---|
sql_visualise | A chart was generated; result is populated |
conversational | The model wants clarification; use a suggestions[i].query as your follow-up |
invalid | The prompt could not be answered; exit code is 1 |
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | intent == "invalid", auth failure, role error, or write error |

