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

# Agent Interactions

> Per-message debug log of chat interactions with full tool calls and trace details.

The **Agent Interactions** tab provides a per-message debug log of all chat interactions in the project. Expand any row to view full tool calls and trace details, or export the complete dataset for offline analysis.

## Interactions Table

Records are paginated and displayed in reverse chronological order. Use **Previous** and **Next** to navigate between pages. The table scrolls horizontally to reveal all columns:

| Column       | Description                                                                                        |
| ------------ | -------------------------------------------------------------------------------------------------- |
| **Time**     | The date and time the message was sent.                                                            |
| **Chat**     | A truncated preview of the chat title, with the chat ID displayed below.                           |
| **User**     | The email of the user who sent the message, with their user ID displayed below.                    |
| **Agent**    | The name of the agent that handled the interaction, with the agent ID displayed below.             |
| **Input**    | A truncated preview of the user's message.                                                         |
| **Output**   | A truncated preview of the agent's response.                                                       |
| **Model**    | The LLM model used to generate the response.                                                       |
| **Tokens**   | Total tokens consumed by the interaction.                                                          |
| **Tools**    | The number of tool calls made during the interaction. Displays a count badge when tools were used. |
| **Duration** | The time taken to generate the response.                                                           |

## Expanding a Row

Select the **arrow** (›) on any row to expand it and view full debug details for that interaction.

### LLM Traces

Shows the model call details for the interaction:

| Field             | Description                                                          |
| ----------------- | -------------------------------------------------------------------- |
| **Model**         | The LLM model used (e.g. `claude-sonnet-4-6`).                       |
| **Provider**      | The model provider (e.g. `anthropic`).                               |
| **Tokens**        | Breakdown of input tokens, output tokens, and total tokens consumed. |
| **Duration**      | Time taken for the model call (e.g. `1665ms`).                       |
| **Show Response** | Expands to display the full raw model response.                      |

### Events

A timestamped list of lifecycle events that occurred during the interaction, such as:

* `on_chat_model_start` — The model call was initiated.
* `on_llm_end` — The model call completed.

## Search and Filtering

* **Search** — Use the **Search messages or responses** field to find interactions by keyword in the input or output.
* **Date Range** — Use the **Select date range** button to scope the log to a specific time window.
* **Refresh** — Use the refresh icon to reload the log with the latest data.

## Exporting

Select the **Export** dropdown to download the complete dataset in your preferred format:

| Format             | Description              |
| ------------------ | ------------------------ |
| **Export as CSV**  | Excel-compatible format. |
| **Export as XLSX** | Preserves formatting.    |
