Authorizations
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Path Parameters
Unique id of the chat agent to be updated.
"16b980523634a6dc504898cda492e939"
Query Parameters
Optional version of the API to use for this request. Default to latest version.
1
Body
The Response Engine to attach to the agent. It is used to generate responses for the agent. You need to create a Response Engine first before attaching it to an agent.
- Option 1
- Option 2
- Option 3
The name of the chat agent. Only used for your own reference.
"Jarvis"
Message to display when the chat is automatically closed.
"Thank you for chatting. The conversation has ended."
If users stay silent for a period after agent speech, end the chat. The minimum value allowed is 360,000 ms (0.1 hours). The maximum value allowed is 259,200,000 ms (72 hours). By default, this is set to 3,600,000 (1 hour).
3600000
Specifies what language (and dialect) the chat will operate in. For instance, selecting en-GB optimizes for British English. If unset, will use default value en-US. Select multi for multilingual support, currently this supports Spanish and English.
en-US, en-IN, en-GB, en-AU, en-NZ, de-DE, es-ES, es-419, hi-IN, fr-FR, fr-CA, ja-JP, pt-PT, pt-BR, zh-CN, ru-RU, it-IT, ko-KR, nl-NL, nl-BE, pl-PL, tr-TR, th-TH, vi-VN, ro-RO, bg-BG, ca-ES, da-DK, fi-FI, el-GR, hu-HU, id-ID, no-NO, sk-SK, sv-SE, multi "en-US"
The webhook for agent to listen to chat events. See what events it would get at webhook doc. If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to null to remove webhook url from this agent.
"https://webhook-url-here"
The timeout for the webhook in milliseconds. If not set, default value of 10000 will apply.
10000
Controls what data is stored for this agent. "everything" stores all data including transcripts and recordings. "everything_except_pii" stores data but excludes PII when possible based on PII configuration. "basic_attributes_only" stores only basic metadata. If not set, defaults to "everything".
everything, everything_except_pii, basic_attributes_only "everything"
Whether this agent opts in to signed url for public log. If not set, default value of false will apply.
true
Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends.
- Option 1
- Option 2
- Option 3
- Option 4
The model to use for post chat analysis. Default to gpt-4.1-mini.
gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5, gpt-5.1, gpt-5-mini, gpt-5-nano, claude-4.5-sonnet, claude-4.0-sonnet, claude-3.7-sonnet, claude-3.5-haiku, gemini-2.0-flash, gemini-2.0-flash-lite, gemini-2.5-flash, gemini-2.5-flash-lite "gpt-4.1-mini"
Configuration for PII scrubbing from transcripts and recordings.
Response
Successfully updated the chat agent.
Unique id of chat agent.
"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
Last modification timestamp (milliseconds since epoch). Either the time of last update or creation if no updates available.
1703413636133
The version of the chat agent.
0
Whether the chat agent is published.
false
The Response Engine to attach to the agent. It is used to generate responses for the agent. You need to create a Response Engine first before attaching it to an agent.
- Option 1
- Option 2
- Option 3
The name of the chat agent. Only used for your own reference.
"Jarvis"
Message to display when the chat is automatically closed.
"Thank you for chatting. The conversation has ended."
If users stay silent for a period after agent speech, end the chat. The minimum value allowed is 360,000 ms (0.1 hours). The maximum value allowed is 259,200,000 ms (72 hours). By default, this is set to 3,600,000 (1 hour).
3600000
Specifies what language (and dialect) the chat will operate in. For instance, selecting en-GB optimizes for British English. If unset, will use default value en-US. Select multi for multilingual support, currently this supports Spanish and English.
en-US, en-IN, en-GB, en-AU, en-NZ, de-DE, es-ES, es-419, hi-IN, fr-FR, fr-CA, ja-JP, pt-PT, pt-BR, zh-CN, ru-RU, it-IT, ko-KR, nl-NL, nl-BE, pl-PL, tr-TR, th-TH, vi-VN, ro-RO, bg-BG, ca-ES, da-DK, fi-FI, el-GR, hu-HU, id-ID, no-NO, sk-SK, sv-SE, multi "en-US"
The webhook for agent to listen to chat events. See what events it would get at webhook doc. If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to null to remove webhook url from this agent.
"https://webhook-url-here"
The timeout for the webhook in milliseconds. If not set, default value of 10000 will apply.
10000
Controls what data is stored for this agent. "everything" stores all data including transcripts and recordings. "everything_except_pii" stores data but excludes PII when possible based on PII configuration. "basic_attributes_only" stores only basic metadata. If not set, defaults to "everything".
everything, everything_except_pii, basic_attributes_only "everything"
Whether this agent opts in to signed url for public log. If not set, default value of false will apply.
true
Post chat analysis data to extract from the chat. This data will augment the pre-defined variables extracted in the chat analysis. This will be available after the chat ends.
- Option 1
- Option 2
- Option 3
- Option 4
The model to use for post chat analysis. Default to gpt-4.1-mini.
gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5, gpt-5.1, gpt-5-mini, gpt-5-nano, claude-4.5-sonnet, claude-4.0-sonnet, claude-3.7-sonnet, claude-3.5-haiku, gemini-2.0-flash, gemini-2.0-flash-lite, gemini-2.5-flash, gemini-2.5-flash-lite "gpt-4.1-mini"
Configuration for PII scrubbing from transcripts and recordings.