# Chat Sessions

Every conversation between a visitor and a chat agent is stored as a chat session.

## Viewing Sessions

Navigate to a chat agent and click **Chats** to review all sessions for that agent. The session list shows:

- **Visitor** — Name or identifier (if collected)
- **Page URL** — Where the chat started
- **Messages** — Number of messages in the conversation
- **Duration** — How long the chat lasted
- **Date** — When the session occurred
- **Status** — Active, completed, or escalated

## Session Detail View

Open a session to review the full conversation. The detail view includes:

- **Full Message History** — Every message between the visitor and AI, with timestamps
- **Visitor Information** — Browser, device, page URL, and the visitor's approximate location from their IP address (city level at best, labelled as such — an IP places a connection, not a person)
- **Contact Link** — If the visitor was identified, link to their contact record
- **Sentiment** — AI-assessed conversation sentiment
- **Summary** — AI-generated conversation summary

## Filtering Sessions

Filter the session list by:

- Date range
- Visitor name or email
- Page URL
- Session status

<!-- SCREENSHOT: chat-sessions-list.png — Chat sessions list -->
<!-- SCREENSHOT: chat-session-detail.png — Session detail with full conversation -->
