List all chat agents
get/list-chat-agents
Query parameters
limitinteger
Example:50
A limit on the number of objects to be returned. Limit can range between 1 and 1000, and the default is 1000.
pagination_keystring
Example:16b980523634a6dc504898cda492e939
The pagination key to continue fetching the next page of agents. Pagination key is represented by a agent id, pagination key and version pair is exclusive (not included in the fetched page). If not set, will start from the beginning.
pagination_key_versioninteger
Specifies the version of the agent associated with the pagination_key. When paginating, both the pagination_key and its version must be provided to ensure consistent ordering and to fetch the next page correctly.
is_latestboolean
Example:true
If true, only return the latest version of each chat agent.
Response
Successfully retrieved all chat agents.
Example response
[
{
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"base_version": 12,
"agent_name": "Jarvis",
"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"
]
}
],
"analysis_successful_prompt": "The agent finished the task and the call was complete without being cutoff.",
"analysis_summary_prompt": "Summarize the call in a few sentences.",
"analysis_user_sentiment_prompt": "Evaluate the user's sentiment based on their tone and satisfaction level.",
"timezone": "America/New_York",
"last_modification_timestamp": 1703413636133
}
]