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

# Analytics

> Monitor conversations, collect feedback, and track how your agent is performing.

The analytics dashboard gives you visibility into every conversation your agent handles. Track resolution quality, identify gaps in your knowledge base, and collect user feedback.

## Activity feed

The **Activity** page in the dashboard shows a real-time feed of conversations. Each entry includes:

* Conversation status (active or closed)
* Message count and last message preview (up to 150 characters)
* Timestamps for creation and last update
* End user identity (if verified)

The feed polls every 2 seconds and shows up to 50 messages per poll, with a maximum monitoring duration of 5 minutes per session.

## Conversation history

Click any conversation in the activity feed to see the full message history. You can review:

* The complete exchange between the user and agent
* Which knowledge sources and actions were used
* Tool invocations and their results
* Page context captured from the widget

## Feedback collection

Users can rate agent responses directly in the widget. Feedback is captured via the `/api/v1/chat/feedback` endpoint with:

| Field       | Description                          |
| ----------- | ------------------------------------ |
| `rating`    | `POSITIVE` or `NEGATIVE`             |
| `messageId` | Optional — target a specific message |
| `comment`   | Optional — free-text explanation     |

<Tip>
  Use negative feedback to identify topics where your knowledge base needs improvement. Filter conversations by negative ratings to find common pain points.
</Tip>

## API access

You can query conversation data programmatically:

<CodeGroup>
  ```bash List conversations theme={null}
  curl "https://platform.agentictrust.com/api/v1/chat/conversations?userId=user-42" \
    -H "x-api-key: lum_pk_your_api_key"
  ```

  ```bash Get conversation messages theme={null}
  curl "https://platform.agentictrust.com/api/v1/chat/conversations/conv_abc123" \
    -H "x-api-key: lum_pk_your_api_key"
  ```

  ```bash Submit feedback theme={null}
  curl -X POST "https://platform.agentictrust.com/api/v1/chat/feedback" \
    -H "x-api-key: lum_pk_your_api_key" \
    -H "Content-Type: application/json" \
    -d '{"conversationId": "conv_abc123", "rating": "POSITIVE"}'
  ```
</CodeGroup>

## Rate limits

| Endpoint         | Limit              |
| ---------------- | ------------------ |
| Chat messages    | 30 requests/minute |
| Session creation | 10 requests/minute |
| General API      | 60 requests/minute |

Rate limit headers are included in every response:

* `X-RateLimit-Limit` — maximum requests in the current window
* `X-RateLimit-Remaining` — requests remaining
* `X-RateLimit-Reset` — Unix timestamp when the window resets
