mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
51f9be82f8
* docs: document assistant link deflection and thread transcript endpoint * fix: correct link deflection anchor in assistant thread page --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
---
|
|
title: "Get assistant conversation thread"
|
|
openapi: /analytics.openapi.json GET /v1/analytics/{projectId}/assistant/threads/{threadId}
|
|
keywords: ["analytics", "assistant", "thread", "transcript", "export", "AI"]
|
|
---
|
|
|
|
## Usage
|
|
|
|
Use this endpoint to fetch the full message transcript of a single assistant conversation as JSON. The response includes the ordered list of user and assistant messages, each with an ID, role, content, and timestamp.
|
|
|
|
Common uses:
|
|
|
|
- Attach the conversation transcript to a support ticket when a user reaches out from the assistant.
|
|
- Reconstruct a specific conversation for review, quality assurance, or offline analysis.
|
|
|
|
## Getting a thread ID
|
|
|
|
You can obtain a `threadId` from either of the following sources:
|
|
|
|
- The `id` field of any row returned by [Get assistant conversations](/api/analytics/assistant-conversations).
|
|
- The `threadId` query parameter that Mintlify appends to the support URL when the assistant deflects to your support platform using [link deflection](/assistant/configure#deflect-to-a-support-link).
|
|
|
|
## Rate limits
|
|
|
|
This endpoint allows 100 requests per organization per hour. All analytics endpoints share this limit.
|