japhetgan
09/10/2025, 7:10 PMAI Evy
09/10/2025, 7:10 PMAI Evy
09/10/2025, 7:10 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
[(2) ]()
What specific operation do you need help with regarding your call ID? Are you looking to retrieve call details, update call information, or something else?AI Evy
09/10/2025, 7:11 PMAI Evy
09/10/2025, 7:11 PMjaphetgan
09/10/2025, 7:11 PMjaphetgan
09/10/2025, 7:11 PMAI Evy
09/10/2025, 7:11 PMAI Evy
09/10/2025, 7:12 PMcall_418711dcf731c37ff8fb51f3929, you can retrieve detailed latency metrics using 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('call_418711dcf731c37ff8fb51f3929') ;
console.log(callResponse) ;
The response will include a latency object with detailed metrics including :
- **e2e**: End-to-end latency
- **llm**: LLM processing latency
- **tts**: Text-to-speech latency
- **knowledge_base**: Knowledge base query latency
Retell AI aims for sub-800ms latency for optimal user experience [(3) ]() . In human conversation, responses typically arrive within 500ms, so voice agents need to match this natural flow . If your voice agent takes longer than 800ms to respond, you're already losing the conversation .
Some factors that can impact latency include [(4) ]() :
- LLM latency consistently above 900ms
- Denoising mode settings
- Interruption sensitivity settings
To optimize latency, consider using the fast tier for your LLM if you haven't already .AI Evy
09/10/2025, 7:12 PMAI Evy
09/10/2025, 7:12 PMjaphetgan
09/10/2025, 7:14 PMAI Evy
09/10/2025, 7:14 PMAI Evy
09/10/2025, 7:14 PMAI Evy
09/10/2025, 7:14 PMgpt-4.1
- gpt-4.1-mini
- gpt-4.1-nano
## Community Feedback
Note that some users have reported issues with GPT-4.1 function calling consistency compared to GPT-4o [(4) ](AI Evy
09/10/2025, 7:14 PMAI Evy
09/10/2025, 7:14 PMjaphetgan
09/10/2025, 7:18 PMAI Evy
09/10/2025, 7:18 PMAI Evy
09/10/2025, 7:18 PMAI Evy
09/10/2025, 7:18 PMAI Evy
09/10/2025, 7:18 PMAI Evy
09/10/2025, 7:18 PMjaphetgan
09/10/2025, 7:20 PMAI Evy
09/10/2025, 7:20 PMAI Evy
09/10/2025, 7:21 PMAI Evy
09/10/2025, 7:21 PMAI Evy
09/10/2025, 7:21 PMAI Evy
09/10/2025, 7:21 PMjaphetgan
09/10/2025, 7:23 PMAI Evy
09/10/2025, 7:23 PMAI Evy
09/10/2025, 7:23 PMAI Evy
09/10/2025, 7:23 PMAI Evy
09/10/2025, 7:23 PMAI Evy
09/10/2025, 7:23 PM