Skip to main content
Mintlify
current

Search documentation

Type to search this documentation.

Get an assistant conversation thread

GET/v1/analytics/{projectId}/assistant/threads/{threadId}Get an assistant conversation thread

Returns the full message transcript for a single assistant conversation thread. The thread ID is available from the assistant conversations endpoint, or as the threadId query parameter appended to assistant link-mode deflection support URLs.

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.

threadIdstring · ulidpathrequired

Assistant conversation thread ID (ULID).

Responses

200The conversation transcriptapplication/json
objectAssistantThreadResponse
createdAtstringrequired

Timestamp when the thread was created.

messagesarray of objectrequired

Ordered list of messages exchanged in the thread.

Show child attributes
Show array items
contentstringrequired

The text content of the message.

createdAtstringrequired

Timestamp when the message was sent.

idstringrequired

Unique message identifier.

rolestringrequired

Whether the message was sent by the user or the assistant.

one of "user", "assistant"

threadIdstringrequired

Assistant conversation thread identifier (ULID).

Example response
{
  "createdAt": "string",
  "messages": [
    {
      "content": "string",
      "createdAt": "string",
      "id": "string",
      "role": "assistant"
    }
  ],
  "threadId": "string"
}
400Invalid thread IDapplication/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"
}
404Thread not foundapplication/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