https://retellai.com/?utm_source=discord&utm_medium=seo logo
s
@AI Evy Hello! I’m experiencing an issue with the chat APIs: When I use /list-chat or /get-chat/{chat_id}, the field transcript always comes back empty. The same happens with message_with_tool_calls, even when the chat status is ended. However, when I check the logs, the transcripts are complete and accurate. What I have already tried: Queried both recent and older chats (to rule out timing/synchronization issues). Confirmed that chats do contain content (not empty sessions). Verified that this is not related to Data Storage Settings (since this option only applies to voice agents). It looks like a bug in the chat API: transcripts exist in the logs but are not being stored or returned by the API. Thank you so much!
a
Thanks for tagging me @son_iaonline. I'll look through relevant sources and get back to you shortly.
### Answer Based on the official documentation, both /list-chat and /get-chat/{chat_id} endpoints are expected to return a transcript and a message_with_tool_calls array for each chat, including after the chat status is ended [(1) ]() [(2) ]() . The transcript field should contain the full conversation, and message_with_tool_calls should include all messages and tool call invocations. Since you see complete and accurate transcripts in the logs but both fields are empty in the API response, and you have ruled out empty sessions and data storage settings, this behavior is not documented as expected in the API references . I do not have any further direct troubleshooting steps or bug acknowledgments in the available documentation. For further assistance, you can check these resources: [Create Chat]() , [Get Chat]() , [List Chat]() . Would you like a general answer based on my broader knowledge instead?
​ To learn more, see the sources I considered: [[1] Get Chat](https://docs.retellai.com/api-references/get-chat) [[2] List Chat](https://docs.retellai.com/api-references/list-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.