https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hello, I created a chatbot using Retell AI, but I ...
# ❓・ai-evy-support
i
Hello, I created a chatbot using Retell AI, but I can’t see any chat history. Could you please tell me why the chats aren’t being displayed?
a
Thanks for the follow-up, @intello_67845. I'll get back to you soon.
### Answer Based on the documentation, there are a few different ways to access chat history in Retell AI: Dashboard Access: You can monitor your chat sessions through the Session History dashboard [(1) ]() . To access it, navigate to the dashboard and select the "Chat History" tab . The dashboard offers filtering capabilities to help you analyze your chat sessions . API Access: You can also retrieve chat history programmatically using the API: - Use the
list-chat
endpoint to get all chats [(2) ]() - Use the
get-chat
endpoint to retrieve details of a specific chat [(3) ]()
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponses = await client.chat.list() ;
console.log(chatResponses) ;
[(2) ]() Important Note: If you're only seeing a "Call History" tab instead of "Chat History," this is expected [(4) ]() . The Call History tab shows phone call sessions, while chat sessions have their own separate history section . Chat history functionality may still be in development for the dashboard interface . Storage Duration: Session history and recordings are stored indefinitely, but will be permanently deleted if you choose to delete your account [(1) ]() . If you're still not seeing your chat sessions, make sure you're looking in the correct section of the dashboard or try using the API endpoints to programmatically retrieve your chat data.
​ To learn more, see the sources I considered: [[1] Monitor sessions via dashboard](https://docs.retellai.com/features/session-history) [[2] List Chat](https://docs.retellai.com/api-references/list-chat) [[3] Get Chat](https://docs.retellai.com/api-references/get-chat) [[4] Where is chatbot website embed and history?](https://discord.com/channels/1186424376300679209/1387898542554615979) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
i
@AI Evy it doesn´t work
a
Thanks for the follow-up, @intello_67845. I'll get back to you soon.
### Answer Based on your issue, there appears to be a known problem with the
list-chat
endpoint [(1) ]() . Several users have reported that the List Chat endpoint returns an empty array despite having active chats present . This issue has been acknowledged and should be fixed . Here are some troubleshooting steps: 1. Verify Individual Chat Access First, confirm your chats exist by using the
get-chat
endpoint with a specific chat ID [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponse = await client.chat.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(chatResponse.agent_id) ;
2. Check Dashboard Access You can monitor your chat sessions through the Session History dashboard [(3) ]() . Navigate to the dashboard and select the "Chat History" tab . The dashboard offers filtering capabilities to help you analyze your chat sessions . 3. API List Method If the issue persists, try the list method again:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponses = await client.chat.list() ;
console.log(chatResponses) ;
[(4) ]() Important Notes: - Session history and recordings are stored indefinitely [(3) ]() - The List Chat endpoint issue has been reported by multiple users and should now be resolved [(1) ]() - If you're still experiencing issues, the problem may be related to the known bug that was recently addressed If none of these solutions work, the issue may require further investigation as this appears to be a platform-specific problem that was recently fixed.
​ To learn more, see the sources I considered: [[1] List Chat endpoint returning empty array despite active chats present](https://discord.com/channels/1186424376300679209/1382021519781134407) [[2] Get Chat](https://docs.retellai.com/api-references/get-chat) [[3] Monitor sessions via dashboard](https://docs.retellai.com/features/session-history) [[4] 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.