66tech
07/29/2025, 8:40 PMAI Evy
07/29/2025, 8:41 PMAI Evy
07/29/2025, 8:41 PMGET /v2/get-call/{call_id} to retrieve details of a specific call [(1) ]()
- The endpoint returns comprehensive call information including transcript, recording URL, call analysis, latency metrics, and cost data
For agent data:
- Use GET /list-agents to retrieve all agents [(2) ]()
- This returns agent configurations, settings, and metadata
For phone number data:
- Use GET /list-phone-numbers to get all phone numbers [(3) ]()
- This provides phone number details, associated agents, and configuration
For conversation flow data:
- Use GET /get-conversation-flow/{conversation_flow_id} to retrieve conversation flow details [(4) ]()
Here's an example of retrieving call data:
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) ;
[(1) ]()
The call response includes detailed metrics like latency data, call analysis, transcript, recording URLs, and cost information that would be valuable for dashboard analytics .AI Evy
07/29/2025, 8:41 PMAI Evy
07/29/2025, 8:41 PM