Skip to main content
Mintlify
current

Search documentation

Type to search this documentation.

Get assistant conversations

GET/v1/analytics/{projectId}/assistantGet assistant conversations

Returns paginated AI assistant conversation history

Authenticate with an admin API key.

Parameters

projectIdstringpathrequired

Your project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.

dateFromstringquery

Date in ISO 8601 or YYYY-MM-DD format

dateTostringquery

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.

limitnumberquery

Max results per page

default 100 · maximum 1000 · minimum 1

cursorstring · ulidquery

Pagination cursor (ULID format)

Responses

200Conversation data with paginationapplication/json
objectAssistantConversationsResponse
conversationsarray of objectrequired

List of assistant conversations.

Show child attributes
Show array items
feedbacknull | stringrequired

The user's thumbs rating on the assistant's response. `positive` for thumbs up, `negative` for thumbs down, or `null` if the user did not rate the response.

one of "positive", "negative", null

idstringrequired

Unique conversation identifier.

pageUrlnull | stringrequired

Full URL of the documentation page where the conversation started. Null if no page path was captured.

querystringrequired

The user's question to the assistant.

queryCategorynull | stringrequired

Auto-assigned category grouping for the conversation, if applicable.

resolutionStatusstringrequired

Whether the assistant successfully answered this turn. Computed per row: `unanswered` when the assistant marked the question as not covered by the available documentation, otherwise `answered`.

one of "answered", "unanswered"

responsestringrequired

The assistant's response. For clarifying-question turns, this is the question the assistant asked the user.

responseTypestring

Type of response returned to the user. `answer` is a final answer. `clarifying_question` means the assistant asked the user a follow-up question instead of answering. Defaults to `answer` when not present.

one of "answer", "clarifying_question"

sourcesarray of objectrequired

Documentation pages referenced in the response.

Show child attributes
Show array items
titlestringrequired

Title of the referenced documentation page.

urlstringrequired

URL of the referenced documentation page.

timestampstringrequired

Timestamp of the user message that started this turn.

hasMorebooleanrequired

Whether additional results are available beyond this page.

nextCursornull | stringrequired

Cursor to retrieve the next page of results. Null if no more results.

Example response
{
  "conversations": [
    {
      "feedback": "negative",
      "id": "string",
      "pageUrl": "string",
      "query": "string",
      "queryCategory": "string",
      "resolutionStatus": "answered",
      "response": "string",
      "responseType": "answer",
      "sources": [
        {
          "title": "string",
          "url": "string"
        }
      ],
      "timestamp": "string"
    }
  ],
  "hasMore": true,
  "nextCursor": "string"
}
400Invalid query parametersapplication/json
objectAnalyticsErrorResponse
detailsarray of object

Additional details about the error.

Show child attributes
Show array items
messagestringrequired

Description of a specific validation or processing error.

errorstringrequired

Error message describing what went wrong.

Example response
{
  "details": [
    {
      "message": "string"
    }
  ],
  "error": "string"
}
500Server errorapplication/json
objectAnalyticsErrorResponse
detailsarray of object

Additional details about the error.

Show child attributes
Show array items
messagestringrequired

Description of a specific validation or processing error.

errorstringrequired

Error message describing what went wrong.

Example response
{
  "details": [
    {
      "message": "string"
    }
  ],
  "error": "string"
}
Documentation menu