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

# How do I retrieve AI answers and sentiment through the API?

> Retrieve collected AI answers, their analysis and visibility trends.

Retrieve collected AI answers, their analysis and visibility trends.

Read [authentication](/docs/developers/authentication), [pagination and filters](/docs/developers/pagination-and-filters), and [safe writes and retries](/docs/developers/safe-writes) before integrating. Each endpoint below includes its request parameters, response schema, and code examples.

## Endpoints

* [List AI answers](/docs/api-reference/answers/get-v2-responses) — `GET /api/v2/responses`
* [Get an AI answer](/docs/api-reference/answers/get-v2-responses-id) — `GET /api/v2/responses/{id}`
* [Compare competitors in AI answers](/docs/api-reference/answers/get-v2-responses-competitors) — `GET /api/v2/responses/competitors`
* [Track brand mentions over time](/docs/api-reference/answers/get-v2-responses-mentions-time-series) — `GET /api/v2/responses/mentions-time-series`
* [Get the sentiment distribution](/docs/api-reference/answers/get-v2-responses-sentiment-distribution) — `GET /api/v2/responses/sentiment-distribution`
* [Track sentiment over time](/docs/api-reference/answers/get-v2-responses-sentiment-over-time) — `GET /api/v2/responses/sentiment-over-time`
* [Get an AI answer summary](/docs/api-reference/answers/get-v2-responses-summary) — `GET /api/v2/responses/summary`

[Download the complete OpenAPI specification](/docs/openapi.json) for client generation and schema validation.
