curl --request GET \
--url https://api.in.talqing.com/v1/calls/{session_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.in.talqing.com/v1/calls/{session_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.in.talqing.com/v1/calls/{session_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.in.talqing.com/v1/calls/{session_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 => [
"Authorization: Bearer <token>"
],
]);
$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.talqing.com/v1/calls/{session_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.talqing.com/v1/calls/{session_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.in.talqing.com/v1/calls/{session_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"created_at": "2023-11-07T05:31:56Z",
"payload": {},
"seq": 123,
"type": "<string>"
}
],
"session": {
"agent": {
"channel": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"agent_version": 123,
"analysis": {
"fields": {},
"outcome": "success",
"outcome_rationale": "<string>",
"skip_reason": "<string>",
"status": "none",
"summary": "<string>"
},
"billed_at": "2023-11-07T05:31:56Z",
"billing_status": "pending",
"close_reason": "<string>",
"close_reason_label": "<string>",
"contact_key": "<string>",
"contact_userdata": {},
"content_deleted_at": "2023-11-07T05:31:56Z",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_ref_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"duration_s": 123,
"ended_at": "2023-11-07T05:31:56Z",
"error": {
"message": "<string>",
"type": "<string>"
},
"from_e164": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"livekit_room": "<string>",
"phone_number_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recording": {
"state": "none",
"bytes": 123,
"download_url": "<string>",
"duration_s": 123,
"expires_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z"
},
"screen_recording": {
"state": "none",
"bytes": 123,
"download_url": "<string>",
"duration_s": 123,
"expires_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z"
},
"started_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"telephony_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_e164": "<string>",
"transfer": {
"at": "2023-11-07T05:31:56Z",
"destination": "<string>",
"mode": "cold",
"outcome": "connected",
"transport": "refer",
"detail": "<string>",
"on_failure": "continue",
"sip_status": {}
},
"trigger_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "WEB",
"userdata": {}
},
"snapshot": {
"agent_became_ready": false,
"agent_messages": 0,
"billing_status": "pending",
"cached_input_tokens": 0,
"connection": {
"agent": "unknown",
"caller": "unknown",
"overall": "unknown"
},
"connection_quality": "unknown",
"duration_seconds": 123,
"end_of_turn_avg_ms": 123,
"errors": 0,
"false_interruptions": 0,
"false_interruptions_resumed": 0,
"input_tokens": 0,
"interruptions": 0,
"issues": [],
"noise_cancellation_failed": false,
"ok": true,
"output_tokens": 0,
"pace": {
"talk_over_turns": 0
},
"provider_failures": 0,
"provider_recoveries": 0,
"providers": [],
"response_latency": {
"samples": 0
},
"slow_response_threshold_ms": 3500,
"slow_tool_calls": 0,
"slow_tool_calls_in_silence": 0,
"slow_tool_threshold_ms": 8000,
"stt_audio_ms": 0,
"tool_call_failures": 0,
"tool_calls": 0,
"total_audio_ms": 0,
"total_cost_usd": 123,
"transcription_avg_ms": 123,
"ttfb_avg_ms": 123,
"ttft_avg_ms": 123,
"tts_audio_ms": 0,
"tts_characters": 0,
"turns": 0,
"unfinished_tool_calls": 0,
"uninterrupted_responses": 0,
"user_messages": 0
},
"tools": [
{
"description": "<string>",
"name": "<string>",
"disable_interruptions": false,
"id": "<string>",
"json_schema": {},
"long_running_task": false,
"silent": false
}
],
"transcript": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version": 123,
"attachments": [
{
"bytes": 123,
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z",
"width": 123,
"filename": "<string>",
"kind": "image"
}
],
"data": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"item_id": "<string>",
"metrics": {},
"timestamp": "2023-11-07T05:31:56Z",
"type": "message"
}
],
"usage": {
"avatar": [
{
"avatar_id": "<string>",
"avatar_session_id": "<string>",
"model": "<string>",
"provider": "<string>",
"seconds": 0
}
],
"llm": [
{
"input_cached_tokens": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"priority": false,
"provider": "<string>",
"purpose": "conversation"
}
],
"realtime": [
{
"input_audio_tokens": 0,
"input_cached_audio_tokens": 0,
"input_cached_text_tokens": 0,
"input_text_tokens": 0,
"model": "<string>",
"output_audio_tokens": 0,
"output_text_tokens": 0,
"provider": "<string>",
"session_seconds": 0
}
],
"stt": [
{
"audio_duration": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"provider": "<string>"
}
],
"tts": [
{
"audio_duration": 0,
"characters_count": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"provider": "<string>"
}
]
},
"agent_config": {
"name": "<string>",
"analysis": {
"enabled": true,
"fields": [
{
"description": "<string>",
"name": "<string>",
"type": "string"
}
],
"model": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"outcome": {
"prompt": "<string>"
},
"summary": true
},
"avatar": {
"avatar_id": "edf6fdcb-acab-44b8-b974-ded72665ee26",
"model": "anam",
"name": "Mia",
"provider": "anam"
},
"background_audio": {
"ambient": "office",
"ambient_volume": 0.4,
"enabled": false,
"thinking": "keyboard",
"thinking_volume": 0.6
},
"channel": "voice",
"conversation": {
"context": "none",
"initialize_userdata": true,
"summary_limit": 2
},
"greeting": "Hello! How can I help you today?",
"handoffs": [
{
"description": "<string>",
"name": "<string>",
"agent_id": "<string>",
"context": "transcript",
"message": "<string>",
"recent_turns": 5,
"summary_prompt": "<string>"
}
],
"kb_ids": [
"<string>"
],
"language": "<string>",
"llm": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"fallback": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"mcps": [
{
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp": {
"name": "<string>",
"url": "<string>",
"allowed_tools": [
"<string>"
],
"headers": {},
"tools_namespace": ""
}
}
],
"noise_cancellation": {
"enabled": false,
"enhancement_level": 0.8,
"model": "quail_vf_s",
"provider": "aicoustics"
},
"on_enter": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"on_exit": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"on_user_turn_completed": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"prompt": "You are a helpful, concise voice assistant.",
"realtime": {
"model": "gpt-realtime-2.1",
"provider": "openai",
"speed": 1,
"voice": "marin",
"voice_name": "<string>"
},
"recording": {
"consent": "off",
"consent_notice": "This call is recorded for quality and training purposes.",
"enabled": true
},
"stt": {
"fallback": {
"model": "saaras:v3",
"provider": "sarvam"
},
"model": "saaras:v3",
"provider": "sarvam"
},
"timezone": "<string>",
"tools": [
{
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
}
],
"tts": {
"expressive": false,
"fallback": {
"expressive": false,
"model": "bulbul:v3",
"provider": "sarvam",
"similarity_boost": 0.5,
"speed": 1,
"stability": 0.5,
"voice": "shubh",
"voice_name": "<string>"
},
"model": "bulbul:v3",
"provider": "sarvam",
"similarity_boost": 0.5,
"speed": 1,
"stability": 0.5,
"voice": "shubh",
"voice_name": "<string>"
},
"turn_handling": {
"endpointing": {
"max_silence_duration": 2.5,
"min_silence_duration": 0.5
},
"interruption": {
"discard_audio_if_uninterruptible": true,
"enabled": true,
"false_interruption_timeout": 2,
"min_speech_duration": 0.5,
"min_words": 0,
"resume_false_interruption": true
},
"preemptive_generation": {
"enabled": false,
"max_retries": 3,
"max_speech_duration": 10,
"preemptive_tts": false
}
},
"vars": [
{
"name": "<string>",
"default": "<string>",
"description": "",
"required": false
}
],
"vision_input": {
"screenshare": {
"enabled": false,
"record": false
}
}
},
"agent_plan": {
"members": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"override": {},
"version": 123
}
]
},
"cost": {
"duration_s": 123,
"platform_fee": 123,
"pricing_snapshot": {
"avatar": [
{
"cost": 123,
"kind": "avatar",
"model": "<string>",
"provider": "<string>",
"rates": {
"per_minute": 123
},
"seconds": 123
}
],
"duration_s": 123,
"llm": [
{
"cost": 123,
"input_cached_tokens": 123,
"kind": "llm",
"model": "<string>",
"output_tokens": 123,
"priority": false,
"provider": "<string>",
"purpose": "conversation",
"rates": {
"cached_input_per_1m": 123,
"input_per_1m": 123,
"output_per_1m": 123
},
"uncached_input_tokens": 123
}
],
"platform_fee": 123,
"platform_fee_per_minute": 123,
"provider_cost": 123,
"realtime": [
{
"cost": 123,
"input_cached_audio_tokens": 123,
"input_cached_text_tokens": 123,
"kind": "realtime",
"model": "<string>",
"output_audio_tokens": 123,
"output_text_tokens": 123,
"provider": "<string>",
"rates": {
"audio_input_per_1m": 123,
"audio_output_per_1m": 123,
"cached_audio_input_per_1m": 123,
"cached_text_input_per_1m": 123,
"per_session_minute": 123,
"text_input_per_1m": 123,
"text_output_per_1m": 123
},
"session_seconds": 123,
"uncached_input_audio_tokens": 123,
"uncached_input_text_tokens": 123
}
],
"stt": [
{
"audio_duration": 123,
"cost": 123,
"input_tokens": 123,
"kind": "stt",
"model": "<string>",
"output_tokens": 123,
"provider": "<string>",
"rates": {
"input_per_1m": 123,
"output_per_1m": 123,
"per_audio_second": 123
}
}
],
"total_charge": 123,
"tts": [
{
"audio_duration": 123,
"characters_count": 123,
"cost": 123,
"input_tokens": 123,
"kind": "tts",
"model": "<string>",
"output_tokens": 123,
"provider": "<string>",
"rates": {
"input_per_1m": 123,
"output_per_1m": 123,
"per_audio_second": 123,
"per_character": 123
}
}
]
},
"provider_cost": 123,
"total_charge": 123
},
"greeting": "<string>",
"starting_prompt": "",
"team": [
{
"name": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123
}
],
"vars": {}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}Get Call
Everything about one call: health, transcript, tool calls, usage, cost.
Start with snapshot: it answers “did this call go well?” on its own —
snapshot.issues names every problem found and snapshot.ok is true when
there were none.
transcript carries what was said with every function call and its output,
and session.userdata is the state the call ended with. tools,
starting_prompt and greeting are the frozen version this call actually
ran, not the agent’s current draft.
curl --request GET \
--url https://api.in.talqing.com/v1/calls/{session_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.in.talqing.com/v1/calls/{session_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.in.talqing.com/v1/calls/{session_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.in.talqing.com/v1/calls/{session_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 => [
"Authorization: Bearer <token>"
],
]);
$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.talqing.com/v1/calls/{session_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.talqing.com/v1/calls/{session_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.in.talqing.com/v1/calls/{session_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"created_at": "2023-11-07T05:31:56Z",
"payload": {},
"seq": 123,
"type": "<string>"
}
],
"session": {
"agent": {
"channel": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"agent_version": 123,
"analysis": {
"fields": {},
"outcome": "success",
"outcome_rationale": "<string>",
"skip_reason": "<string>",
"status": "none",
"summary": "<string>"
},
"billed_at": "2023-11-07T05:31:56Z",
"billing_status": "pending",
"close_reason": "<string>",
"close_reason_label": "<string>",
"contact_key": "<string>",
"contact_userdata": {},
"content_deleted_at": "2023-11-07T05:31:56Z",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_ref_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"duration_s": 123,
"ended_at": "2023-11-07T05:31:56Z",
"error": {
"message": "<string>",
"type": "<string>"
},
"from_e164": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"livekit_room": "<string>",
"phone_number_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recording": {
"state": "none",
"bytes": 123,
"download_url": "<string>",
"duration_s": 123,
"expires_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z"
},
"screen_recording": {
"state": "none",
"bytes": 123,
"download_url": "<string>",
"duration_s": 123,
"expires_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z"
},
"started_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"telephony_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"to_e164": "<string>",
"transfer": {
"at": "2023-11-07T05:31:56Z",
"destination": "<string>",
"mode": "cold",
"outcome": "connected",
"transport": "refer",
"detail": "<string>",
"on_failure": "continue",
"sip_status": {}
},
"trigger_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "WEB",
"userdata": {}
},
"snapshot": {
"agent_became_ready": false,
"agent_messages": 0,
"billing_status": "pending",
"cached_input_tokens": 0,
"connection": {
"agent": "unknown",
"caller": "unknown",
"overall": "unknown"
},
"connection_quality": "unknown",
"duration_seconds": 123,
"end_of_turn_avg_ms": 123,
"errors": 0,
"false_interruptions": 0,
"false_interruptions_resumed": 0,
"input_tokens": 0,
"interruptions": 0,
"issues": [],
"noise_cancellation_failed": false,
"ok": true,
"output_tokens": 0,
"pace": {
"talk_over_turns": 0
},
"provider_failures": 0,
"provider_recoveries": 0,
"providers": [],
"response_latency": {
"samples": 0
},
"slow_response_threshold_ms": 3500,
"slow_tool_calls": 0,
"slow_tool_calls_in_silence": 0,
"slow_tool_threshold_ms": 8000,
"stt_audio_ms": 0,
"tool_call_failures": 0,
"tool_calls": 0,
"total_audio_ms": 0,
"total_cost_usd": 123,
"transcription_avg_ms": 123,
"ttfb_avg_ms": 123,
"ttft_avg_ms": 123,
"tts_audio_ms": 0,
"tts_characters": 0,
"turns": 0,
"unfinished_tool_calls": 0,
"uninterrupted_responses": 0,
"user_messages": 0
},
"tools": [
{
"description": "<string>",
"name": "<string>",
"disable_interruptions": false,
"id": "<string>",
"json_schema": {},
"long_running_task": false,
"silent": false
}
],
"transcript": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version": 123,
"attachments": [
{
"bytes": 123,
"height": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z",
"width": 123,
"filename": "<string>",
"kind": "image"
}
],
"data": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"item_id": "<string>",
"metrics": {},
"timestamp": "2023-11-07T05:31:56Z",
"type": "message"
}
],
"usage": {
"avatar": [
{
"avatar_id": "<string>",
"avatar_session_id": "<string>",
"model": "<string>",
"provider": "<string>",
"seconds": 0
}
],
"llm": [
{
"input_cached_tokens": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"priority": false,
"provider": "<string>",
"purpose": "conversation"
}
],
"realtime": [
{
"input_audio_tokens": 0,
"input_cached_audio_tokens": 0,
"input_cached_text_tokens": 0,
"input_text_tokens": 0,
"model": "<string>",
"output_audio_tokens": 0,
"output_text_tokens": 0,
"provider": "<string>",
"session_seconds": 0
}
],
"stt": [
{
"audio_duration": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"provider": "<string>"
}
],
"tts": [
{
"audio_duration": 0,
"characters_count": 0,
"input_tokens": 0,
"model": "<string>",
"output_tokens": 0,
"provider": "<string>"
}
]
},
"agent_config": {
"name": "<string>",
"analysis": {
"enabled": true,
"fields": [
{
"description": "<string>",
"name": "<string>",
"type": "string"
}
],
"model": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"outcome": {
"prompt": "<string>"
},
"summary": true
},
"avatar": {
"avatar_id": "edf6fdcb-acab-44b8-b974-ded72665ee26",
"model": "anam",
"name": "Mia",
"provider": "anam"
},
"background_audio": {
"ambient": "office",
"ambient_volume": 0.4,
"enabled": false,
"thinking": "keyboard",
"thinking_volume": 0.6
},
"channel": "voice",
"conversation": {
"context": "none",
"initialize_userdata": true,
"summary_limit": 2
},
"greeting": "Hello! How can I help you today?",
"handoffs": [
{
"description": "<string>",
"name": "<string>",
"agent_id": "<string>",
"context": "transcript",
"message": "<string>",
"recent_turns": 5,
"summary_prompt": "<string>"
}
],
"kb_ids": [
"<string>"
],
"language": "<string>",
"llm": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"fallback": {
"builtin_tools": [
{
"type": "<string>",
"config": {}
}
],
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"model": "gpt-5.6-luna",
"priority": false,
"provider": "openai",
"reasoning_effort": "none"
},
"mcps": [
{
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp": {
"name": "<string>",
"url": "<string>",
"allowed_tools": [
"<string>"
],
"headers": {},
"tools_namespace": ""
}
}
],
"noise_cancellation": {
"enabled": false,
"enhancement_level": 0.8,
"model": "quail_vf_s",
"provider": "aicoustics"
},
"on_enter": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"on_exit": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"on_user_turn_completed": {
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
},
"prompt": "You are a helpful, concise voice assistant.",
"realtime": {
"model": "gpt-realtime-2.1",
"provider": "openai",
"speed": 1,
"voice": "marin",
"voice_name": "<string>"
},
"recording": {
"consent": "off",
"consent_notice": "This call is recorded for quality and training purposes.",
"enabled": true
},
"stt": {
"fallback": {
"model": "saaras:v3",
"provider": "sarvam"
},
"model": "saaras:v3",
"provider": "sarvam"
},
"timezone": "<string>",
"tools": [
{
"tool": {
"name": "<string>",
"description": "",
"disable_interruptions": false,
"json_schema": {},
"long_running_task": false,
"operations": [
{
"config": {
"method": "GET",
"url": "<string>",
"body": "<unknown>",
"headers": {},
"query": {},
"timeout": 60
},
"kind": "http",
"background_execution": false,
"on_error": "abort",
"publish_fields": [
{
"path": "<string>",
"store": "tooldata",
"key": "<string>"
}
],
"silent": false
}
],
"silent": false
},
"tool_id": "<string>",
"tool_version": 123
}
],
"tts": {
"expressive": false,
"fallback": {
"expressive": false,
"model": "bulbul:v3",
"provider": "sarvam",
"similarity_boost": 0.5,
"speed": 1,
"stability": 0.5,
"voice": "shubh",
"voice_name": "<string>"
},
"model": "bulbul:v3",
"provider": "sarvam",
"similarity_boost": 0.5,
"speed": 1,
"stability": 0.5,
"voice": "shubh",
"voice_name": "<string>"
},
"turn_handling": {
"endpointing": {
"max_silence_duration": 2.5,
"min_silence_duration": 0.5
},
"interruption": {
"discard_audio_if_uninterruptible": true,
"enabled": true,
"false_interruption_timeout": 2,
"min_speech_duration": 0.5,
"min_words": 0,
"resume_false_interruption": true
},
"preemptive_generation": {
"enabled": false,
"max_retries": 3,
"max_speech_duration": 10,
"preemptive_tts": false
}
},
"vars": [
{
"name": "<string>",
"default": "<string>",
"description": "",
"required": false
}
],
"vision_input": {
"screenshare": {
"enabled": false,
"record": false
}
}
},
"agent_plan": {
"members": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"override": {},
"version": 123
}
]
},
"cost": {
"duration_s": 123,
"platform_fee": 123,
"pricing_snapshot": {
"avatar": [
{
"cost": 123,
"kind": "avatar",
"model": "<string>",
"provider": "<string>",
"rates": {
"per_minute": 123
},
"seconds": 123
}
],
"duration_s": 123,
"llm": [
{
"cost": 123,
"input_cached_tokens": 123,
"kind": "llm",
"model": "<string>",
"output_tokens": 123,
"priority": false,
"provider": "<string>",
"purpose": "conversation",
"rates": {
"cached_input_per_1m": 123,
"input_per_1m": 123,
"output_per_1m": 123
},
"uncached_input_tokens": 123
}
],
"platform_fee": 123,
"platform_fee_per_minute": 123,
"provider_cost": 123,
"realtime": [
{
"cost": 123,
"input_cached_audio_tokens": 123,
"input_cached_text_tokens": 123,
"kind": "realtime",
"model": "<string>",
"output_audio_tokens": 123,
"output_text_tokens": 123,
"provider": "<string>",
"rates": {
"audio_input_per_1m": 123,
"audio_output_per_1m": 123,
"cached_audio_input_per_1m": 123,
"cached_text_input_per_1m": 123,
"per_session_minute": 123,
"text_input_per_1m": 123,
"text_output_per_1m": 123
},
"session_seconds": 123,
"uncached_input_audio_tokens": 123,
"uncached_input_text_tokens": 123
}
],
"stt": [
{
"audio_duration": 123,
"cost": 123,
"input_tokens": 123,
"kind": "stt",
"model": "<string>",
"output_tokens": 123,
"provider": "<string>",
"rates": {
"input_per_1m": 123,
"output_per_1m": 123,
"per_audio_second": 123
}
}
],
"total_charge": 123,
"tts": [
{
"audio_duration": 123,
"characters_count": 123,
"cost": 123,
"input_tokens": 123,
"kind": "tts",
"model": "<string>",
"output_tokens": 123,
"provider": "<string>",
"rates": {
"input_per_1m": 123,
"output_per_1m": 123,
"per_audio_second": 123,
"per_character": 123
}
}
]
},
"provider_cost": 123,
"total_charge": 123
},
"greeting": "<string>",
"starting_prompt": "",
"team": [
{
"name": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123
}
],
"vars": {}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The band at the top of the call and conversation views.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
A call fills either llm+tts+stt or realtime — never both, because the agent ran one pipeline or the other.
Show child attributes
Show child attributes
The whole agent: what it says, which models run it, and what it can do.
A complete definition, not a patch — whatever it omits takes that field's default.
Show child attributes
Show child attributes
What a call ran, frozen at the moment it started.
Written only when the call differs from "the published agent, as-is" — so a
null agent_plan means exactly that. members[0] is the agent that
answered.
Show child attributes
Show child attributes
The three totals, plus the priced lines they were summed from.
pricing_snapshot is the exact PriceBreakdown the biller wrote at
seal, rates and all — declared as one rather than as a bag so every reader
gets the real shape instead of re-deriving it. Only the computed branch
of the biller writes a breakdown here, and this whole model is None
unless billing_status = 'computed', so the {"error": …} shape the
unpriceable path writes to the same column is unreachable from here.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes