cURL
curl --request GET \ --url https://chat.api.toolzz.com.br/api/v1/voice/call-logs/id/{callId}
{ "message": "<string>", "id": "<string>", "callId": "<string>", "callName": "<string>", "unityId": "<string>", "successEvaluation": true, "botId": "<string>", "audioFileUrl": "<string>", "agentRecordingUrl": "<string>", "userRecordingUrl": "<string>", "endCallType": "<string>", "callType": "<string>", "dateFormatted": "<string>", "costBreakdown": { "currency": "<string>", "fxRateUsdBrl": 123, "llmCompletionTokens": 123, "llmCost": 123, "llmPromptCachedTokens": 123, "llmPromptTokens": 123, "pricingVersion": "<string>", "sttAudioDurationMs": 123, "sttCost": 123, "total": 123, "totalCost": 123, "ttsCharactersCount": 123, "ttsCost": 123 }, "duration": 123, "phone": "<string>", "callDate": "<string>", "dataStructure": {}, "durationFormatted": "<string>", "transcription": [ { "content": "<string>", "createdAt": 123, "id": "<string>", "interrupted": true, "role": "<string>", "type": "<string>" } ], "metadata": { "bot": { "id": "<string>", "name": "<string>" }, "callTime": "<string>", "environment": "<string>", "institution": { "id": "<string>" }, "unit": { "id": "<string>", "name": "<string>" } }, "callTime": "<string>", "totalCost": 123, "summary": "<string>", "createdAt": "<string>", "updatedAt": "<string>" }
Endpoint para retornar os detalhes do registro da chamada
WEB
PHONE
Show Cost breakdown properties
Show Transcription properties
assistant
user
Show Metadata properties
Show Bot properties
Show Institution properties
Show Unit properties