intello_67845
08/02/2025, 5:32 PMAI Evy
08/02/2025, 5:32 PMAI Evy
08/02/2025, 5:33 PMlist-chat endpoint to get all chats [(2) ]()
- Use the get-chat endpoint to retrieve details of a specific chat [(3) ]()
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.AI Evy
08/02/2025, 5:33 PMAI Evy
08/02/2025, 5:33 PMintello_67845
08/02/2025, 5:43 PMAI Evy
08/02/2025, 5:43 PMAI Evy
08/02/2025, 5:43 PMlist-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) ]() :
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:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatResponses = await client.chat.list() ;
console.log(chatResponses) ;AI Evy
08/02/2025, 5:43 PMAI Evy
08/02/2025, 5:43 PMAI Evy
08/02/2025, 5:43 PM