Files
mintlify__docs/api/analytics/assistant-conversations.mdx
Reed Barnes f74260a0ae hidden documentation for new analytics API endpoints (#2942)
* hidden documentation for new analytics API endpoints

* Add property descriptions to spec

* Align path description with discovery OpenAPI spec

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Align projectId description with other specs

* update bearerAuth description

---------

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:01:55 -08:00

23 lines
838 B
Plaintext

---
openapi: /analytics.openapi.json GET /api/external/v1/analytics/{projectId}/assistant
keywords: ["analytics", "assistant", "conversations", "export", "AI"]
---
## Usage
Use this endpoint to export AI assistant conversation history from your documentation. Each conversation includes the user query, assistant response, sources cited, and query category.
Paginate through results using the `cursor` parameter returned in the response. Continue fetching while `hasMore` is `true`.
## Filtering
Filter conversations by date range using `dateFrom` and `dateTo` parameters.
## Conversation data
Each conversation includes:
- **query**: The user's question
- **response**: The assistant's answer
- **sources**: Pages referenced in the response, with title and URL
- **queryCategory**: Classification of the query type (if available)