Pular para o conteúdo principal

List messages of a thread

GET 

https://platform.docana.com/api/v1/threads/:threadId/messages/

take is clamped to 50. cursor is a message id; only messages older than it are returned. fields=compact returns role, text parts, and timestamps only — the right shape for reading a conversation; the default full embeds reasoning traces and provider metadata too. The serving model (metadata.modelProviderId) is omitted unless the caller is a platform super admin.

Request​

Responses​

One page of messages, oldest first