GET /get-chat-agent/{agent_id}
Changed onRetrieve details of a specific chat agent
Request
- Base URLhttps://api.retellai.com
- AuthHTTP bearer
Path parameters
agent_idstring required
Example:16b980523634a6dc504898cda492e939
Unique id of the chat agent to be retrieved.
Query parameters
Example:latest_published
Optional version of the API to use for this request. If not provided, will default to latest version.
Response
Successfully retrieved the chat agent.
Example response
{
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"base_version": 12,
"agent_name": "Jarvis",
"version_title": "Production hotfix",
"auto_close_message": "Thank you for chatting. The conversation has ended.",
"end_chat_after_silence_ms": 3600000,
"language": "en-US",
"webhook_url": "https://webhook-url-here",
"webhook_timeout_ms": 10000,
"data_storage_setting": "everything",
"data_storage_retention_days": 30,
"opt_in_signed_url": true,
"signed_url_expiration_ms": 86400000,
"post_chat_analysis_data": [
{
"type": "string",
"name": "customer_name",
"description": "The name of the customer.",
"examples": [
"John Doe",
"Jane Smith"
]
}
],
"timezone": "America/New_York",
"pre_session_tools": [
{
"response_variables": {
"contact_first_name": "data.first_name"
},
"output_selection": {
"fields": [
"id",
"properties.email"
]
}
}
],
"post_session_tools": [
{
"response_variables": {
"contact_first_name": "data.first_name"
},
"output_selection": {
"fields": [
"id",
"properties.email"
]
}
}
],
"last_modification_timestamp": 1703413636133
}Changes
- warning
added the new
gpt-6.1-terraenum value to the////response property for the response status
- warning
- info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status
- info