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

# Analytics

> Monitor Agent Studio usage with conversation and message metrics.

export const Application = () => <Tooltip tip="An Algolia application is a self-contained environment with its own indices, configuration, and API keys. Applications don't share data or settings with each other.">
    application
  </Tooltip>;

export const AlgoliaGenAI = () => <svg className="inline" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" ariaLabel="Algolia Generative AI" role="presentation">
    <path fill="#9698C3" d="M3.333 5h11.25v1.607H3.333zm0 3.214h9.643v1.607H3.333zm0 3.215h7.5v1.607h-7.5z"></path>
    <path d="m15.12 9.286-.684 2.076a.713.713 0 0 1-.455.455l-2.076.683 2.076.683a.715.715 0 0 1 .455.455l.683 2.076.683-2.076a.715.715 0 0 1 .455-.455l2.076-.683-2.076-.683a.715.715 0 0 1-.455-.455l-.683-2.076Z" fill="#36395A"></path>
  </svg>;

<Callout icon="flask-conical" color="#14b8a6">
  This is a **beta feature** according to [Algolia's Terms of Service ("Beta Services")](https://www.algolia.com/policies/terms/).
</Callout>

Agent Studio analytics help you understand how users interact with your agents.
Track conversation volume, token usage, and search activity to monitor performance and optimize costs.

## Access analytics

1. Go to the [Algolia dashboard](https://dashboard.algolia.com/explorer/browse) and select your Algolia <Application />.
2. On the left sidebar, select <AlgoliaGenAI /> **Generative AI**.
3. Go to **Agent Studio > Analytics**.

## Filters

Use filters to refine the data displayed in the analytics dashboard.

### Time period

Select a date range to analyze metrics for a specific period.
This helps you identify trends, compare performance across time frames, or investigate specific events.

### Agent

Choose to view metrics for:

* **All agents**: aggregated data across all your agents
* **Specific agent**: data for a single agent

## Metrics

The analytics dashboard displays the following metrics:

| Metric                     | Description                                                                  |
| -------------------------- | ---------------------------------------------------------------------------- |
| Total conversations        | Number of conversations users had with your agents                           |
| Input tokens               | Tokens sent to the large language model (LLM), including prompts and context |
| Output tokens              | Tokens generated by the LLM in responses                                     |
| Search calls               | Number of times your agents called the Algolia Search tool                   |
| Unique authenticated users | Distinct users who interacted with your agents                               |

### Token usage

**Input tokens** represent the data sent to the LLM, including:

* System prompts and agent instructions
* User messages
* Tool outputs (such as search results)
* Conversation history

**Output tokens** represent the responses generated by the model.
Monitoring token usage helps you understand costs and optimize your agent's prompts.

### Search calls

This metric tracks how often your agents use the Algolia Search tool.
A high number of search calls indicates users are asking questions that require data retrieval from your indices.
