Introducing Confident Monitor

List Voice Connection Logs

(v2)

GET

Lists every call placed to a voice connection, newest first: test calls and calls made while evaluating datasets.

GET/v2/voice-connections/{voiceConnectionId}/logs
curl -X GET "https://api.confident-ai.com/v2/voice-connections/{voiceConnectionId}/logs" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "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_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • voiceConnectionIdstringRequired

    The id of the voice connection.

Query parameters

  • pageSizeintegerdefault: 25

    The number of logs per page, at most 100. Defaults to 25.

  • cursorstring

    This is used for pagination, and should be set to the nextCursor value returned in the previous response to get the next page of results.

Response

List Voice Connection Logs succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    The calls placed to a voice connection, newest first.

    Show 2 propertiesHide 2 properties
    • voiceConnectionLogslist of objects

      The calls on this page, newest first.

      Show 15 propertiesHide 15 properties
      • idstring

        The id of the log.

      • createdAtstring

        When the call started, as an ISO 8601 timestamp.

      • voiceConnectionIdstring

        The id of the voice connection that was called.

      • voiceConnectionNamestring

        The name of the voice connection when the call was placed.

      • sourceenum

        What placed the call: ping for a test call, dataset_evaluation for a call made while evaluating a dataset.

        Show 2 enum valuesHide 2 enum values
        • ping
        • dataset_evaluation
      • sourceNamestring

        The alias of the dataset that was evaluated, or an empty string for test calls.

      • testRunIdstring | null

        The id of the test run the call belongs to, or null for test calls.

      • transportenum

        How Confident AI reaches your voice agent: PHONE dials a phone number, SIP calls a SIP address directly, and WEBRTC joins a WebRTC session.

        Show 3 enum valuesHide 3 enum values
        • PHONE
        • SIP
        • WEBRTC
      • addressstring

        The number, sip: address or URL that was called.

      • statusenum

        How the call ended: ANSWERED when your agent picked up, NO_ANSWER when nobody picked up in time, FAILED when the call could not be placed.

        Show 3 enum valuesHide 3 enum values
        • ANSWERED
        • NO_ANSWER
        • FAILED
      • connectMsnumber | null

        Milliseconds until your agent answered or the stream opened, or null when it never did.

      • durationMsnumber

        How long the call lasted, in milliseconds.

      • transcriptstring | null

        For test calls, what your agent said first. Null when nothing was transcribed.

      • errorstring | null

        Why the call did not connect, or null when it did.

      • audioUrlstring | null

        A 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 | null

      The value to pass as cursor to get the next page, or null when this is the last page.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI