hergustone
08/14/2025, 2:00 PMAI Evy
08/14/2025, 2:00 PMAI Evy
08/14/2025, 2:01 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
## Get Individual Call
For specific call details, use the Get Call API [(2) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
## Available Data
The APIs provide comprehensive call information including [(1) ]() [(2) ]() :
- Call transcripts and recordings
- Call duration and timestamps
- Latency metrics (e2e, LLM, TTS, etc.)
- Call analysis (sentiment, summary, success status)
- Cost breakdown and token usage
- Disconnection reasons
- Dynamic variables and metadata
## Filtering Options
The List Calls API supports extensive filtering by agent ID, call status, version, disconnection reason, phone numbers, and date ranges [(1) ]() .
Session history and recordings are stored indefinitely [(3) ]() .AI Evy
08/14/2025, 2:01 PMAI Evy
08/14/2025, 2:01 PMhergustone
08/14/2025, 2:01 PM