Read the latest preparation reply
GEThttps://platform.docana.com/api/v1/employees/:id/prepare-message/
The latest turn of a preparation thread owned by the caller: its status (running, completed, failed or stopped), the reply text, pending questions and the tools it has used. Call it every 15 to 30 seconds after askEmployeePreparation answers with status "running". Completed is the only status with a final reply. After failed or stopped, read getEmployeePreparationStatus and listAgents before sending a new message, because part of the work may be saved.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Status, reply text and tool states of the latest turn
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.
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.