List messages of an agent thread
GEThttps://platform.docana.com/api/v1/agents/:agentId/threads/:threadId/messages/
Looks the thread up by id within the agent application, so any agent thread works — sandbox, builder, and live execution threads (type AGENT, as returned by getAgentExecution) alike. threadGroupId and type are optional narrowing filters; a mismatch returns 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
All messages of the thread, oldest first
Invalid query parameters
The API key or session is missing, expired, or malformed.
No access to the agent application
Thread not found
Unexpected server error.