Skip to main content
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)

Endpoint

projectId
string
required
Your project ID. Can be copied from the API keys page in your dashboard.

Query Parameters

dateFrom
string
Date in ISO 8601 or YYYY-MM-DD format. Filter conversations that occurred on or after this date.
dateTo
string
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.
limit
number
default:"100"
Max results per page. Minimum: 1, Maximum: 1000.
cursor
string
Pagination cursor (ULID format) returned from a previous response.

Response

conversations
array
List of assistant conversations.
nextCursor
string
Cursor to retrieve the next page of results. Null if no more results.
hasMore
boolean
Whether additional results are available beyond this page.

Authentication

This endpoint requires an admin API key (prefixed with mint_). Generate one on the API keys page in your dashboard.