> ## 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 content gaps and query fanouts through the API?

> Retrieve content-gap findings and recommendations for tracked prompts.

Retrieve content-gap findings and recommendations for tracked prompts.

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

## Endpoints

* [List query fan-outs](https://chatobserver.com/docs/api-reference/content-opportunities/get-v2-query-fanouts.md) — `GET /api/v2/query-fanouts`
* [List prompt content gaps](https://chatobserver.com/docs/api-reference/content-opportunities/get-v2-content-gap-prompts.md) — `GET /api/v2/content-gap/prompts`
* [Get content gap statistics](https://chatobserver.com/docs/api-reference/content-opportunities/get-v2-content-gap-stats.md) — `GET /api/v2/content-gap/stats`
* [Get the latest content gap analysis](https://chatobserver.com/docs/api-reference/content-opportunities/get-v2-content-gap-prompts-prompt-id-latest.md) — `GET /api/v2/content-gap/prompts/{promptId}/latest`
* [Read content gap recommendations](https://chatobserver.com/docs/api-reference/content-opportunities/get-v2-content-gap-prompts-prompt-id-latest-recommendations.md) — `GET /api/v2/content-gap/prompts/{promptId}/latest/recommendations`

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.