Update an existing chat agent
Path parameters
Unique id of the chat agent to be updated.
Query parameters
Optional version of the API to use for this request. Default to latest version.
Request body
Example request
{
"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"
}Response
Successfully updated the chat agent.
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
}Changes
Changed in 15 of the 28 revisions of this API.511177
- ●
removed the request property
request-property-removed
- ●
removed the optional property
////from the response with the statusresponse-optional-property-removed
- ●
- ○
queryrequest parameterversionlist-of-types was widened by adding typesstringrequest-parameter-list-of-types-widened
- ○
for the
queryrequest parameterversion, the type was generalized fromintegerto no typerequest-parameter-type-generalized
- ○
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
- ▲
removed the enum value
gemini-2.5-flashof the request propertyrequest-property-enum-value-removed
- ●
added the new
transcript_updatedenum value to the/////response property for the response statusresponse-property-enum-value-added
- ○
added the new
transcript_updatedenum value to the request property/request-property-enum-value-added
- ○
added
subschema #1subschema #3to the response bodyallOflist for the response statusresponse-body-all-of-added
- ○
removed
subschema #1subschema #3from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
added the non-success response with the status
response-non-success-status-added
- ○
removed the
gemini-2.5-flashenum value from the////response property for the response statusresponse-property-enum-value-removed
- ▲
- ●
added the new
gpt-5.5enum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.5enum value to the request propertyrequest-property-enum-value-added
- ●
- ▲
removed the enum value
bg-BGof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ca-ESof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
cs-CZof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
da-DKof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
de-DEof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
el-GRof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
en-AUof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
en-GBof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
en-INof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
en-NZof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
en-USof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
es-419of the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
es-ESof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
fi-FIof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
fr-CAof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
fr-FRof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
hi-INof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
hu-HUof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
id-IDof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
it-ITof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ja-JPof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ko-KRof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
lt-LTof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
lv-LVof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
multiof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
nl-BEof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
nl-NLof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
no-NOof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
pl-PLof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
pt-BRof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
pt-PTof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ro-ROof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ru-RUof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
sk-SKof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
sv-SEof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
th-THof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
tr-TRof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
vi-VNof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
zh-CNof the request propertyrequest-property-enum-value-removed
- ▲
the
request property type changed fromstringto no typerequest-property-type-changed
- ▲
added
subschema #2to the////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
////response's property type changed fromstringto no type for statusresponse-property-type-changed
- ○
added
subschema #2to therequest propertyoneOflistrequest-property-one-of-added
- ○
removed the
bg-BGenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ca-ESenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
cs-CZenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
da-DKenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
de-DEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
el-GRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-AUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-GBenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-INenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-NZenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
en-USenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
es-419enum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
es-ESenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fi-FIenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fr-CAenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
fr-FRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
hi-INenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
hu-HUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
id-IDenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
it-ITenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ja-JPenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ko-KRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
lt-LTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
lv-LVenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
multienum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
nl-BEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
nl-NLenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
no-NOenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pl-PLenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pt-BRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
pt-PTenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ro-ROenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
ru-RUenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
sk-SKenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
sv-SEenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
th-THenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
tr-TRenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
vi-VNenum value from the////response property for the response statusresponse-property-enum-value-removed
- ○
removed the
zh-CNenum value from the////response property for the response statusresponse-property-enum-value-removed
- ▲
- ●
added the new
gemini-3.1-flash-liteenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gemini-3.1-flash-liteenum value to the request propertyrequest-property-enum-value-added
- ●
- ▲
removed from the
/request propertyoneOflistrequest-property-one-of-removed
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
removed from the
/////response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ●
added the new
gpt-5.4-minienum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
gpt-5.4-nanoenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.4-minienum value to the request propertyrequest-property-enum-value-added
- ○
added the new
gpt-5.4-nanoenum value to the request propertyrequest-property-enum-value-added
- ●
- ●
added the new
gpt-5.4enum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
gpt-5.4enum value to the request propertyrequest-property-enum-value-added
- ●