Skip to main content
GET
/
api
/
reports
/
agents
/
calls
Get Call
curl --request GET \
  --url https://api.getello.ai/api/reports/agents/calls \
  --header 'X-API-Key: <api-key>'
{
  "status": 200,
  "message": "Call stats fetched successfully",
  "data": {
    "total_calls": 125,
    "successful_calls": 118,
    "failed_calls": 7,
    "average_duration": "3m 45s",
    "calls": [
      {
        "call_id": "6900b87ca70928b1224f0619",
        "agent_id": "685d4b93e834a8dba90f2e12",
        "agent_type": "webcall",
        "status": "success",
        "duration": "2m 30s",
        "created_at": "2025-10-29T10:15:00Z"
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Query Parameters

page
integer

Page number for pagination.

Example:

1

limit
integer

Number of records per page.

Example:

10

fromDate
string<date-time>

Start date for filtering (ISO format).

Example:

"2025-10-01T00:00:00Z"

toDate
string<date-time>

End date for filtering (ISO format).

Example:

"2025-10-29T23:59:59Z"

status
string

Filter calls by status (e.g. success, failed).

Example:

"success"

agent_type
string

Filter calls by agent type (e.g. webcall, phonecall).

Example:

"webcall"

Response

Call stats fetched successfully

status
integer
Example:

200

message
string
Example:

"Call stats fetched successfully"

data
object
Example:
{
"total_calls": 125,
"successful_calls": 118,
"failed_calls": 7,
"average_duration": "3m 45s",
"calls": [
{
"call_id": "6900b87ca70928b1224f0619",
"agent_id": "685d4b93e834a8dba90f2e12",
"agent_type": "webcall",
"status": "success",
"duration": "2m 30s",
"created_at": "2025-10-29T10:15:00Z"
}
]
}