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

# profclaw session

> profclaw session - list, inspect, and delete chat sessions. View conversation history and clean up old sessions stored by the profClaw server.

## Synopsis

```bash theme={null}
profclaw session <subcommand> [flags]
```

## Description

Manage chat sessions, view conversation history, and clean up old sessions. Each chat interaction creates a session that persists messages and tool call history.

## Subcommands

| Subcommand  | Alias | Description                              |
| ----------- | ----- | ---------------------------------------- |
| `list`      | `ls`  | List chat sessions                       |
| `show <id>` |       | Show session details and message preview |
| `kill <id>` |       | Delete a chat session                    |
| `clear`     |       | Delete all chat sessions                 |

## Flags

| Flag              | Type    | Default | Description          |
| ----------------- | ------- | ------- | -------------------- |
| `-l, --limit <n>` | number  | 20      | Max sessions to list |
| `--yes`           | boolean |         | Skip confirmation    |
| `--json`          | boolean |         | Output as JSON       |

## Examples

<CodeGroup>
  ```bash List recent sessions theme={null}
  profclaw session list
  ```

  ```bash Show session details theme={null}
  profclaw session show sess_abc123
  ```

  ```bash Delete a session theme={null}
  profclaw session kill sess_abc123
  ```

  ```bash Clear all sessions theme={null}
  profclaw session clear --yes
  ```
</CodeGroup>

## Related

* [profclaw chat](/cli/chat)
* [Agent Sessions API](/api-reference/agent-sessions)
