Skip to main content
GET
/
api
/
calls
/
get_logs
/
{voice_agent_id}
Get Call Logs By Agent Id
curl --request GET \
  --url https://voiceagent.infers.co/api/calls/get_logs/{voice_agent_id} \
  --header 'Authorization: <api-key>'
{
  "calls": [
    {
      "id": "<string>",
      "from_agent_id": "<string>",
      "is_picked_up": true,
      "from_phone": "<string>",
      "to_phone": "<string>",
      "call_initiated_time": "<string>",
      "call_picked_up_time": "<string>",
      "call_end_up_time": "<string>",
      "type": "OUTBOUND",
      "transcription": [],
      "provider_call_id": "<string>",
      "provider": "PLIVO",
      "recording_url": "<string>",
      "call_status": "COMPLETED",
      "latencies": {
        "text_to_speech": [
          123
        ],
        "speech_to_text": [
          123
        ],
        "llm_generation": [
          123
        ]
      },
      "requested_information": [
        "<string>"
      ],
      "requested_information_with_description": [
        {}
      ],
      "extracted_information": {},
      "extracted_information_list": [
        {}
      ],
      "tools_used": [],
      "prompt_values": {}
    }
  ],
  "next_page_key": "<any>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Email [email protected] to get your API key

Path Parameters

voice_agent_id
string
required

A unique Id for a voice agent

Query Parameters

next_page_key
string
page_size
integer
default:20

Response

Successful Response

calls
CallLogModel · object[]
required
next_page_key
any