Skip to Content
API ReferenceAttemptPOST /chat_export

POST /attempt/chat_export

Chat Export

Export a single chat entry as a denormalized CSV row.

Request Body (ExportChatApiRequest)

FieldTypeRequiredDescription
chat_entry_idstringYesUUID of the chat entry to export
attempt_idstringNoOptional attempt context for the chat
draft_idstringNoOptional draft context for the chat
snapshot_keystringNoCache snapshot key for consistent reads across related requests

Response (ExportChatApiResponse)

FieldTypeRequiredDescription
contentstringYesExported file content
file_namestringYesName of the exported file
mime_typestringYesMIME type of the exported file
row_countintegerYesNumber of rows in the export
Last updated on