Get Call
curl --request GET \
--url https://api-in.getello.ai/api/reports/agents/calls \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-in.getello.ai/api/reports/agents/calls"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api-in.getello.ai/api/reports/agents/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-in.getello.ai/api/reports/agents/calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-in.getello.ai/api/reports/agents/calls"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-in.getello.ai/api/reports/agents/calls")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-in.getello.ai/api/reports/agents/calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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"
}
]
}
}{
"status": 400,
"message": "Failed to fetch call stats"
}{
"status": 401,
"message": "Unauthorized access",
"details": "Authentication token is missing or invalid"
}{
"status": 500,
"message": "Error while fetching call stats"
}Calls
Get Call
Retreives details of a specific call
GET
/
api
/
reports
/
agents
/
calls
Get Call
curl --request GET \
--url https://api-in.getello.ai/api/reports/agents/calls \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-in.getello.ai/api/reports/agents/calls"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api-in.getello.ai/api/reports/agents/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-in.getello.ai/api/reports/agents/calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-in.getello.ai/api/reports/agents/calls"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-in.getello.ai/api/reports/agents/calls")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-in.getello.ai/api/reports/agents/calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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"
}
]
}
}{
"status": 400,
"message": "Failed to fetch call stats"
}{
"status": 401,
"message": "Unauthorized access",
"details": "Authentication token is missing or invalid"
}{
"status": 500,
"message": "Error while fetching call stats"
}Authorizations
apiKeybearerAuth
Query Parameters
Page number for pagination.
Example:
1
Number of records per page.
Example:
10
Start date for filtering (ISO format).
Example:
"2025-10-01T00:00:00Z"
End date for filtering (ISO format).
Example:
"2025-10-29T23:59:59Z"
Filter calls by status (e.g. success, failed).
Example:
"success"
Filter calls by agent type (e.g. webcall, phonecall).
Example:
"webcall"
Response
Call stats fetched successfully
Example:
200
Example:
"Call stats fetched successfully"
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"
}
]
}
⌘I