Skip to main content
GET
/
api
/
v1
/
agents
/
{agent_id}
/
calls
Get Agent Calls
curl --request GET \
  --url https://api.kollie.ai/api/v1/agents/{agent_id}/calls \
  --header 'X-API-Key: <api-key>'
{
  "message": "Data got correctly",
  "meta": {},
  "data": {
    "name": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "calls": [
      {
        "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "provider": "web",
        "status": "init",
        "type": "inbound",
        "phone_number": "<string>",
        "conversation_id": "<string>",
        "transcript": "<string>",
        "duration": 123,
        "cost": 0,
        "notes": "<string>",
        "recording_url": "<string>",
        "events": [
          {}
        ],
        "prompt_params": {},
        "call_extract": {},
        "external_last_status": "<string>",
        "meta": {},
        "system_prompt": "<string>",
        "comments": "<string>",
        "quality": 123,
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_by": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "first_name": "<string>",
          "last_name": "<string>"
        },
        "created_at": "2023-11-07T05:31:56Z",
        "tags": [
          {
            "name": "<string>",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          }
        ]
      }
    ],
    "config": {},
    "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string<uuid>
required

Response

Successful Response

message
string | null
default:Data got correctly
meta
Meta · object
data
IAgentReadWithCalls · object