update
Partially update an AI agent resource. Uses PATCH, so only provided fields are changed.
Path parameters
id
Unique ID of an AI Agent.
Request
hints
Hints help the AI agent understand certain words or phrases better. Words that can commonly be misinterpreted can be added to the hints to help the AI speak more accurately.
See [`ai.hints` in the SWML reference](/docs/swml/reference/calling/ai#aihints).
languages
An array of JSON objects defining supported languages in the conversation.
Mutually exclusive with `multilingual`: if both are set, `multilingual` is used and
this array is ignored.
See [`ai.languages` in the SWML reference](/docs/swml/reference/calling/ai#ailanguages).
params
A JSON object containing parameters as key-value pairs.
See [`ai.params` in the SWML reference](/docs/swml/reference/calling/ai#aiparams).
post_prompt
The final set of instructions and configuration settings to send to the agent.
See [`ai.post_prompt` in the SWML reference](/docs/swml/reference/calling/ai#aipost_prompt).
pronounce
An array of JSON objects to clarify the AI's pronunciation of words or expressions.
See [`ai.pronounce` in the SWML reference](/docs/swml/reference/calling/ai#aipronounce).
prompt
Defines the AI agent's personality, goals, behaviors, and instructions for handling conversations.
The prompt establishes how the agent should interact with callers, what information it should gather,
and how it should respond to various scenarios. It is recommended to write prompts using markdown formatting.
See [`ai.prompt` in the SWML reference](/docs/swml/reference/calling/ai#aiprompt).
SWAIG
An array of JSON objects to create user-defined functions/endpoints that can be executed during the dialogue.
See [`ai.SWAIG` in the SWML reference](/docs/swml/reference/calling/ai#aiswaig).
name
Name of the AI Agent.
Response
id
Unique ID of the AIAgent.
project_id
Unique ID of the Project.
display_name
Display name of the AIAgent Fabric Resource
type
Type of the Fabric Resource
created_at
Date and time when the resource was created.
updated_at
Date and time when the resource was updated.
ai_agent
AIAgent data.
Response Example
Response