Retrieve AI assistant conversation history including queries, responses, cited sources, and categories.
curl --request GET \
--url https://api.mintlify.com/v1/analytics/{projectId}/assistant \
--header 'Authorization: Bearer <token>'{
"conversations": [
{
"id": "<string>",
"timestamp": "<string>",
"query": "<string>",
"response": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>"
}
],
"queryCategory": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}Documentation Index
Fetch the complete documentation index at: https://www.mintlify.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
cursor parameter returned in the response. Continue fetching while hasMore is true.
dateFrom and dateTo parameters.
The Authorization header expects a Bearer token. Use an admin API key (prefixed with mint_). This is a server-side secret key. Generate one on the API keys page in your dashboard.
Date in ISO 8601 or YYYY-MM-DD format
"2024-01-01"
Date in ISO 8601 or YYYY-MM-DD format. dateTo is an exclusive upper limit. Results include dates before, but not on, the specified date.
"2024-01-01"
Max results per page
1 <= x <= 1000Pagination cursor (ULID format)
Conversation data with pagination
Was this page helpful?
curl --request GET \
--url https://api.mintlify.com/v1/analytics/{projectId}/assistant \
--header 'Authorization: Bearer <token>'{
"conversations": [
{
"id": "<string>",
"timestamp": "<string>",
"query": "<string>",
"response": "<string>",
"sources": [
{
"title": "<string>",
"url": "<string>"
}
],
"queryCategory": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}Suggestions