clawmaster.
08/04/2025, 9:55 AMAI Evy
08/04/2025, 9:55 AMAI Evy
08/04/2025, 9:56 AMpagination_key parameter :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
The pagination key is represented by a call id and is exclusive (not included in the fetched calls) . The last call id from the list calls is usually used as pagination key to continue fetching the next page .
For handling large datasets efficiently, one community member suggested using the pagination key approach: "use the pagination key. The pagination key to continue fetching the next page of calls. Pagination key is represented by a call id here, and it's exclusive (not included in the fetched calls) . The last call id from the list calls is usually used as pagination key here" [(2) ]() .
This approach allows you to break down large requests into smaller, manageable chunks that are less likely to timeout.AI Evy
08/04/2025, 9:56 AMAI Evy
08/04/2025, 9:56 AM