cURL
curl --request GET \ --url https://api.trillet.ai/v2/api/call-history/{callHistoryId} \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "_id": "1234567890abcdef", "workspaceId": "abcdef1234567890", "agentId": "abcdef1234567890", "callFlowId": "abcdef1234567890", "roomName": "web-1234abcd", "direction": "outbound", "fromPhoneNumber": "+10000000000", "toPhoneNumber": "+10000000001", "status": "completed", "startTime": 1680000000, "endTime": 1680000300, "cost": { "customer_charge": 0.10 }, "metadata": {}, "functionCalls": [], "summary": "Generic conversation summary about customer engagement.", "analyzedData": { "additional_field": "generic details" }, "createdAt": "2025-01-01T10:00:00Z", "updatedAt": "2025-01-01T10:05:00Z" }
Retrieve detailed information about a specific call history entry.