Renders the whole conversation to a PDF while the request waits, stores it, and returns the stored file record; export started, finished or failed events are recorded on the case. Returns 404 if the conversation is not linked to the case.
POST
/ai-chat/{caseId}/profile/{providerId}/conversation/{conversationId}/export-pdf
curl \
--request POST 'http://api.example.com/ai-chat/{caseId}/profile/{providerId}/conversation/{conversationId}/export-pdf' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (201)
{
"data": {
"name": "IMG_0001.HEIC",
"convertedName": "IMG_0001_display.png",
"transferState": 5,
"totalBytes": 2483120
},
"statusCode": 201,
"timestamp": "2026-01-15T10:15:00.000Z"
}