Skip to content

Export a message canvas document in a given format

GET
/ai/chats/{chat}/messages/{message}/export
curl --request GET \
--url 'http://localhost:8000/api/v1/ai/chats/1/messages/1/export?format=md' \
--header 'Authorization: Bearer <token>'
chat
required
integer
message
required
integer
format
string
default: md

The exported document as a file download

Not found

Unsupported format