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

# ankra chat

> AI-powered chat for troubleshooting and assistance

## ankra chat

AI-powered chat for troubleshooting and assistance.

If a message is provided, sends a one-shot question.
If no message is provided, enters interactive chat mode.

Use --cluster to provide cluster context for better answers.

```bash theme={null}
ankra chat [message] [flags]
```

**Flags**

| Flag        | Default | Description              |
| ----------- | ------- | ------------------------ |
| `--cluster` |         | Cluster name for context |

## ankra chat delete

Delete a chat conversation

```bash theme={null}
ankra chat delete <conversation_id> [flags]
```

**Flags**

| Flag    | Default | Description                  |
| ------- | ------- | ---------------------------- |
| `--yes` | `false` | Skip the confirmation prompt |

## ankra chat health

Get AI-analyzed cluster health

```bash theme={null}
ankra chat health [flags]
```

**Flags**

| Flag             | Default | Description                                                  |
| ---------------- | ------- | ------------------------------------------------------------ |
| `--ai`           | `true`  | Include AI analysis                                          |
| `--cluster`      |         | Target cluster name or ID (defaults to the selected cluster) |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable)        |

## ankra chat history

List chat conversation history

```bash theme={null}
ankra chat history [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `--cluster`      |         | Filter by cluster                                     |
| `--limit`        | `20`    | Maximum number of conversations to show               |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra chat show

Show a specific chat conversation

```bash theme={null}
ankra chat show <conversation_id> [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |
