Skip to main content
GET
/
api
/
agents
/
{agent_id}
/
conversations
/
{conversation_id}
Get Agent Conversation
curl --request GET \
  --url https://api.getello.ai/api/agents/{agent_id}/conversations/{conversation_id} \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://api.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}"

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.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}', 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.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}",
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.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}"

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.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.getello.ai/api/agents/{agent_id}/conversations/{conversation_id}")

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": "Conversation retrieved successfully",
  "data": {
    "id": "6900be1d39f3fd5dd4e503d4",
    "assistant_id": "68dce5202fc07b92042493b1",
    "conversation_id": "6900b87ca70928b1224f0619",
    "disconnect_reason": "user_disconnect",
    "status": "connected",
    "to_number": null,
    "userId": "685d4b93fb5b2e221dc80ea8",
    "workspaceId": "6960a5eb2c65e7fda50603e5",
    "campaign_id": null,
    "connected_at": "2025-10-28T12:35:17.423000Z",
    "ended_at": "2025-10-28T12:59:09.821000Z",
    "duration": "00:23:52",
    "duration_sec": 1432,
    "disconnected_by": "user",
    "metadata": {
      "summary": "…",
      "process_compliance": "yes",
      "outcome": "positive"
    }
  }
}
{
"status": 400,
"message": "<string>"
}
{
"status": 401,
"message": "Authentication token is missing or invalid"
}
{
"status": 500,
"message": "Error while getting conversation info",
"error": {
"details": "Error message details"
}
}

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string
required

Unique identifier of the agent.

Example:

"68dce5202fc07b92042493b1"

conversation_id
string
required

Unique identifier of the conversation.

Example:

"6900b87ca70928b1224f0619"

Response

Conversation retrieved successfully

status
integer
Example:

200

message
string
Example:

"Conversation retrieved successfully"

data
object

Conversation info record returned by assistant-service (fields may include additional keys).