Get Agent
curl --request GET \
--url https://api.in.talqing.com/v1/agents/{agent_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.in.talqing.com/v1/agents/{agent_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/agents/{agent_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/agents/{agent_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/agents/{agent_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/agents/{agent_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.in.talqing.com/v1/agents/{agent_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{
"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
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_at": "2023-11-07T05:31:56Z",
"published_version": 123,
"versions": [
{
"published_at": "2023-11-07T05:31:56Z",
"version": 123,
"published_by": "<string>"
}
]
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}agents
Get Agent
Fetch one agent’s draft config, published version and publish history.
GET
/
v1
/
agents
/
{agent_id}
Get Agent
curl --request GET \
--url https://api.in.talqing.com/v1/agents/{agent_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.in.talqing.com/v1/agents/{agent_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/agents/{agent_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/agents/{agent_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/agents/{agent_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/agents/{agent_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.in.talqing.com/v1/agents/{agent_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{
"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
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_at": "2023-11-07T05:31:56Z",
"published_version": 123,
"versions": [
{
"published_at": "2023-11-07T05:31:56Z",
"version": 123,
"published_by": "<string>"
}
]
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>"
}
}Authorizations
BearerAuthSessionCookie
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
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
Show child attributes
Show child attributes