List messages of a thread
GEThttps://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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
One page of messages, oldest first
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Thread not found
Unexpected server error.