List Voice Connection Logs
(v2)GET
Lists every call placed to a voice connection, newest first: test calls and calls made while evaluating datasets.
curl -X GET "https://api.confident-ai.com/v2/voice-connections/{voiceConnectionId}/logs" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"voiceConnectionLogs": [
{
"id": "<VOICE-CONNECTION-LOG-ID>",
"createdAt": "2026-10-08T16:40:00.000Z",
"voiceConnectionId": "<VOICE-CONNECTION-ID>",
"voiceConnectionName": "Support line",
"source": "ping",
"sourceName": "support-goldens",
"testRunId": null,
"transport": "PHONE",
"address": "+14155550100",
"status": "ANSWERED",
"connectMs": 3200,
"durationMs": 9400,
"transcript": "Hi, thanks for calling. How can I help?",
"error": null,
"audioUrl": null
}
],
"nextCursor": null
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/voice-connections/<VOICE-CONNECTION-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
voiceConnectionIdstringRequiredThe id of the voice connection.
Query parameters
pageSizeintegerdefault: 25The number of logs per page, at most 100. Defaults to 25.
cursorstringThis is used for pagination, and should be set to the
nextCursorvalue returned in the previous response to get the next page of results.
Response
List Voice Connection Logs succeeded.
successbooleanIndicates if the request was successful.
dataobjectThe calls placed to a voice connection, newest first.
Show 2 propertiesHide 2 properties
voiceConnectionLogslist of objectsThe calls on this page, newest first.
Show 15 propertiesHide 15 properties
idstringThe id of the log.
createdAtstringWhen the call started, as an ISO 8601 timestamp.
voiceConnectionIdstringThe id of the voice connection that was called.
voiceConnectionNamestringThe name of the voice connection when the call was placed.
sourceenumWhat placed the call:
pingfor a test call,dataset_evaluationfor a call made while evaluating a dataset.Show 2 enum valuesHide 2 enum values
pingdataset_evaluation
sourceNamestringThe alias of the dataset that was evaluated, or an empty string for test calls.
testRunIdstring | nullThe id of the test run the call belongs to, or null for test calls.
transportenumHow Confident AI reaches your voice agent:
PHONEdials a phone number,SIPcalls a SIP address directly, andWEBRTCjoins a WebRTC session.Show 3 enum valuesHide 3 enum values
PHONESIPWEBRTC
addressstringThe number, sip: address or URL that was called.
statusenumHow the call ended:
ANSWEREDwhen your agent picked up,NO_ANSWERwhen nobody picked up in time,FAILEDwhen the call could not be placed.Show 3 enum valuesHide 3 enum values
ANSWEREDNO_ANSWERFAILED
connectMsnumber | nullMilliseconds until your agent answered or the stream opened, or null when it never did.
durationMsnumberHow long the call lasted, in milliseconds.
transcriptstring | nullFor test calls, what your agent said first. Null when nothing was transcribed.
errorstring | nullWhy the call did not connect, or null when it did.
audioUrlstring | nullA signed URL to the call audio, valid for one hour: the greeting for test calls and the full recording for evaluation calls. Null when no audio was recorded.
nextCursorstring | nullThe value to pass as
cursorto get the next page, ornullwhen this is the last page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.