Updates an existing chat agent
PUT/api/v2/agent/chat/:agentCode
Updates an existing chat agent
Request
Path Parameters
The code of the system agent to update.
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
- application/json
- text/json
- application/*+json
Body
The system agent update request containing details.
Array [
]
Array [
]
Array [
- AgentExecutorSkillReq
- CodeExecutionSkillReq
- EmailSkillReq
- HttpRequestSkillReq
- ImageGenerationSkillReq
- PromptSkillReq
- RemoteMcpSkillReq
- SkillReq
- SpeechGenerationSkillReq
- WebSearchSkillReq
- WorkflowExecutorSkillReq
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
]
general
object
required
Possible values: non-empty and <= 64 characters
Possible values: <= 2000 characters
instructions
object
required
Possible values: non-empty and <= 40000 characters
Possible values: <= 4000 characters
inputParameters
object[]
nullable
Replaces the whole input parameter list. Parameters referenced from the system definition or the initial message are re-created with their default configuration when they are not sent.
Possible values: non-empty, Value must match regular expression ^[a-zA-Z0-9_]+$
The parameter name. Only letters, digits and underscores are allowed.
A description of the parameter.
Possible values: [array, boolean, number, object, string]
The data type of an input parameter.
Whether the parameter must be supplied when the agent is executed.
Value used when the execution does not supply the parameter. It must match the parameter type.
model
object
required
main
object
required
The unique identifier of the AI model to be used by the agent. Alias of aiModelId.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code associated with the AI model to be used by the agent. Required if Id is not provided.
The vendor associated with the AI model to be used by the agent. Required if Id is not provided.
parameters
object
Request DTO for configuring AI model execution parameters.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing similar completions.
A JSON object that maps tokens to an associated bias value from -100 to 100.
The maximum number of tokens shared between the Prompt and the Output.
The maximum number of tokens that can be generated by the AI in the response.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing phrases already present in the input.
The reasoning level of the agent's response (e.g., "low", "medium", "high").
The level of detail of reasoning events exposed during execution (e.g., "auto", "none", "summary", "full").
Defines sequences of tokens upon which the agent should stop generating completions.
A float value between 0 and 2 that determines the randomness of the agent's responses.
A float value that specifies the Top-K sampling parameter.
A float value between 0 and 1 that specifies the probability cutoff for generating the response (nucleus sampling).
Defines if the agent should use Vision capabilities.
Defines if the agent sends attached PDF files directly to the model provider instead of scanning them first. Only applies to models that support it.
Defines if the agent should use Plugin Emulator instead of native tools.
Defines if the agent should use extended thinking (Alibaba Cloud and DeepSeek only).
Token budget for extended thinking on vendors configured by an explicit token budget
(e.g. Anthropic's budget_tokens), where setting a budget is itself the opt-in for extended thinking
Voice identifier for realtime/audio models (e.g. "shimmer", "alloy"). Null when not applicable.
knowledge
object
knowledgeSources
object[]
nullable
List of files to be integrated
metadata
object
Possible values: <= 1000 characters
Possible values: <= 1021 characters
List of dataset ids to be integrated as knowledge sources
advancedSettings
object
The mode of knowledge integration, which determines how the knowledge is integrated into the agent's context. If not provided, default values will be set
The model used to generate the embeddings IF changed, all files will be reprocessed.
The model code used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
The model vendor used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
Possible values: <= 1
The relevance score of the knowledge If not provided, default values will be set
Possible values: >= 1 and <= 100
Sets a limit on the number of sections to retrieve If not provided, default values will be set
skills
object[]
nullable
List of skills to be added to the agent.
oneOf
Request model for creating or updating an Agent Executor skill within an agent.
Possible values: non-empty, [AgentExecutor]
The skill type identifier. Always "AgentExecutor" for agent executor skills.
settings
object
required
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9\-]*$
The code of the agent to execute when this skill is invoked.
The version of the agent to use for this skill.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Code Execution skill within an agent.
Possible values: non-empty, [CodeExecution]
The skill type identifier. Always "CodeExecution" for code execution skills.
settings
object
Configuration options for the code execution skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Email skill within an agent.
Possible values: non-empty, [Email]
The skill type identifier. Always "Email" for email skills.
settings
object
required
Configuration options for the email skill.
List of email recipients.
Possible values: non-empty, [Static, AIGenerated, Dynamic]
The content type (e.g., "Static", "AIGenerated", "Dynamic").
Email subject. May include Liquid template placeholders.
Email body content. May include HTML and Liquid template placeholders.
parameters
object[]
nullable
Variable definitions for the Dynamic content mode. One entry per {{variable}} placeholder
detected across the subject and/or body, unified (de-duplicated) into a single set.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
customSmtpConfiguration
object
Custom SMTP server configuration for sending emails.
Possible values: non-empty
The display name of the sender.
Possible values: non-empty
The email address of the sender.
Possible values: non-empty
The SMTP server address.
The username for SMTP authentication.
The password for SMTP authentication.
Possible values: >= 1 and <= 65535
The SMTP server port.
Whether to use TLS/SSL for secure connection.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an HTTP Request skill within an agent.
Possible values: non-empty, [HttpRequest]
The skill type identifier. Always "HttpRequest" for HTTP request skills, including their variants.
Code of the HTTP request plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the HTTP request skill.
Possible values: non-empty
The HTTP method to use for the request (e.g., "GET", "POST", "PUT", "DELETE").
url
object
required
Represents a URL configuration with dynamic parameters.
Possible values: non-empty
The URL value, which may contain Liquid template placeholders (e.g., "https://api.example.com/v1/{{ resource }}").
parameters
object[]
nullable
The parameters that can be used within the URL template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
body
object
Represents the body configuration for an HTTP request.
Possible values: non-empty, [Legacy, None, Static, AIGenerated, Dynamic]
The body type (e.g., "Legacy", "None", "Static", "AIGenerated", "Dynamic").
Possible values: non-empty
The body value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the body template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
When true, response headers will be included in the skill result.
When true, Set-Cookie headers will be enabled in the response.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Image Generation skill within an agent.
Possible values: non-empty, [ImageGenerator]
The skill type identifier. Always "ImageGenerator" for image generation skills.
settings
object
Configuration options for the image generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Prompt skill within an agent.
Possible values: non-empty, [Prompt]
The skill type identifier. Always "Prompt" for prompt-based skills.
settings
object
required
Configuration options for the prompt skill.
Possible values: <= 40000 characters
The prompt template to be used for this skill. This can include placeholders for input parameters.
How the configured instructions are processed by the agent ("Execution" or "Instruction"). Optional for backward compatibility; the value is validated in the factory and, when omitted, defaults to "Execution".
parameters
object[]
nullable
Variable definitions for the prompt template. One entry per {{variable}} placeholder
referenced in the prompt, describing how the AI should fill it at execution time.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Remote MCP skill within an agent.
Possible values: non-empty, [RemoteMcp]
The skill type identifier. Always "RemoteMcp" for remote MCP skills, including their variants.
Code of the remote MCP plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the Remote MCP skill.
Possible values: non-empty
The server URL for the Remote MCP endpoint.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a skill within an agent.
Possible values: non-empty, [ChartGeneration, CheckCondition, ConversationContext, ConversationRetriever, ConversationSummary, JsonMerge, Math, Text, Time, Wait, WebFileDownload, Workbench]
The plugin identifier (e.g., "ChartGeneration", "Math").
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Speech Generation skill within an agent.
Possible values: non-empty, [SpeechGeneration]
The skill type identifier. Always "SpeechGeneration" for speech generation skills.
settings
object
Configuration options for the speech generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
The voice used for the audio generation. Must be one of the voices available for the resolved vendor. Optional: when omitted, the vendor's first available voice is used.
Possible values: <= 128 characters
Raw vendor voice id, to use a voice available in the tenant's own vendor account.
Optional: takes precedence over voice.
Speed of the generated audio. Ignored by the models that don't accept a speed; otherwise defaults to 1 when not provided and is clamped to the model's accepted range.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Web Search skill within an agent.
Possible values: non-empty, [WebSearch]
The skill type identifier. Always "WebSearch" for web search skills.
settings
object
Configuration options for the web search skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Workflow Executor skill within an agent.
Possible values: non-empty, [WorkflowExecutor]
The skill type identifier. Always "WorkflowExecutor" for workflow executor skills.
settings
object
required
Configuration options for the workflow executor skill.
The unique identifier of the workflow definition to execute.
The version of the workflow to execute. Returned as null when the workflow no longer exists.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
skillsAdvancedSettings
object
Settings that apply to the agent's skills as a whole rather than to a single skill.
selectionOptimization
object
Skill selection optimization: before each execution, a decision model picks the skills the execution needs, so the
agent doesn't load every skill.
Whether the decision model selects the skills of each execution.
The decision model that selects the skills. When neither this nor ModelCode and Vendor are sent, the platform's default decision model is used.
The code of the decision model. Used together with Vendor when AIModelId is not provided.
The vendor of the decision model. Used together with ModelCode when AIModelId is not provided.
Possible values: <= 1
The minimum probability the decision model must give a skill for it to be imported. Higher imports fewer skills. When not sent, the platform's default threshold is used.
Possible values: <= 100
The codes of the agent's skills that are always imported, without the decision model evaluating them. Every tool of an MCP skill is included. When not sent, creating or replacing an agent includes none, and updating a version keeps the current ones.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code to use. Used together with Vendor when AIModelId is not provided.
The vendor of the model to use. Used together with ModelCode when AIModelId is not provided.
Body
The system agent update request containing details.
Array [
]
Array [
]
Array [
- AgentExecutorSkillReq
- CodeExecutionSkillReq
- EmailSkillReq
- HttpRequestSkillReq
- ImageGenerationSkillReq
- PromptSkillReq
- RemoteMcpSkillReq
- SkillReq
- SpeechGenerationSkillReq
- WebSearchSkillReq
- WorkflowExecutorSkillReq
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
]
general
object
required
Possible values: non-empty and <= 64 characters
Possible values: <= 2000 characters
instructions
object
required
Possible values: non-empty and <= 40000 characters
Possible values: <= 4000 characters
inputParameters
object[]
nullable
Replaces the whole input parameter list. Parameters referenced from the system definition or the initial message are re-created with their default configuration when they are not sent.
Possible values: non-empty, Value must match regular expression ^[a-zA-Z0-9_]+$
The parameter name. Only letters, digits and underscores are allowed.
A description of the parameter.
Possible values: [array, boolean, number, object, string]
The data type of an input parameter.
Whether the parameter must be supplied when the agent is executed.
Value used when the execution does not supply the parameter. It must match the parameter type.
model
object
required
main
object
required
The unique identifier of the AI model to be used by the agent. Alias of aiModelId.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code associated with the AI model to be used by the agent. Required if Id is not provided.
The vendor associated with the AI model to be used by the agent. Required if Id is not provided.
parameters
object
Request DTO for configuring AI model execution parameters.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing similar completions.
A JSON object that maps tokens to an associated bias value from -100 to 100.
The maximum number of tokens shared between the Prompt and the Output.
The maximum number of tokens that can be generated by the AI in the response.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing phrases already present in the input.
The reasoning level of the agent's response (e.g., "low", "medium", "high").
The level of detail of reasoning events exposed during execution (e.g., "auto", "none", "summary", "full").
Defines sequences of tokens upon which the agent should stop generating completions.
A float value between 0 and 2 that determines the randomness of the agent's responses.
A float value that specifies the Top-K sampling parameter.
A float value between 0 and 1 that specifies the probability cutoff for generating the response (nucleus sampling).
Defines if the agent should use Vision capabilities.
Defines if the agent sends attached PDF files directly to the model provider instead of scanning them first. Only applies to models that support it.
Defines if the agent should use Plugin Emulator instead of native tools.
Defines if the agent should use extended thinking (Alibaba Cloud and DeepSeek only).
Token budget for extended thinking on vendors configured by an explicit token budget
(e.g. Anthropic's budget_tokens), where setting a budget is itself the opt-in for extended thinking
Voice identifier for realtime/audio models (e.g. "shimmer", "alloy"). Null when not applicable.
knowledge
object
knowledgeSources
object[]
nullable
List of files to be integrated
metadata
object
Possible values: <= 1000 characters
Possible values: <= 1021 characters
List of dataset ids to be integrated as knowledge sources
advancedSettings
object
The mode of knowledge integration, which determines how the knowledge is integrated into the agent's context. If not provided, default values will be set
The model used to generate the embeddings IF changed, all files will be reprocessed.
The model code used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
The model vendor used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
Possible values: <= 1
The relevance score of the knowledge If not provided, default values will be set
Possible values: >= 1 and <= 100
Sets a limit on the number of sections to retrieve If not provided, default values will be set
skills
object[]
nullable
List of skills to be added to the agent.
oneOf
Request model for creating or updating an Agent Executor skill within an agent.
Possible values: non-empty, [AgentExecutor]
The skill type identifier. Always "AgentExecutor" for agent executor skills.
settings
object
required
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9\-]*$
The code of the agent to execute when this skill is invoked.
The version of the agent to use for this skill.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Code Execution skill within an agent.
Possible values: non-empty, [CodeExecution]
The skill type identifier. Always "CodeExecution" for code execution skills.
settings
object
Configuration options for the code execution skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Email skill within an agent.
Possible values: non-empty, [Email]
The skill type identifier. Always "Email" for email skills.
settings
object
required
Configuration options for the email skill.
List of email recipients.
Possible values: non-empty, [Static, AIGenerated, Dynamic]
The content type (e.g., "Static", "AIGenerated", "Dynamic").
Email subject. May include Liquid template placeholders.
Email body content. May include HTML and Liquid template placeholders.
parameters
object[]
nullable
Variable definitions for the Dynamic content mode. One entry per {{variable}} placeholder
detected across the subject and/or body, unified (de-duplicated) into a single set.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
customSmtpConfiguration
object
Custom SMTP server configuration for sending emails.
Possible values: non-empty
The display name of the sender.
Possible values: non-empty
The email address of the sender.
Possible values: non-empty
The SMTP server address.
The username for SMTP authentication.
The password for SMTP authentication.
Possible values: >= 1 and <= 65535
The SMTP server port.
Whether to use TLS/SSL for secure connection.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an HTTP Request skill within an agent.
Possible values: non-empty, [HttpRequest]
The skill type identifier. Always "HttpRequest" for HTTP request skills, including their variants.
Code of the HTTP request plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the HTTP request skill.
Possible values: non-empty
The HTTP method to use for the request (e.g., "GET", "POST", "PUT", "DELETE").
url
object
required
Represents a URL configuration with dynamic parameters.
Possible values: non-empty
The URL value, which may contain Liquid template placeholders (e.g., "https://api.example.com/v1/{{ resource }}").
parameters
object[]
nullable
The parameters that can be used within the URL template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
body
object
Represents the body configuration for an HTTP request.
Possible values: non-empty, [Legacy, None, Static, AIGenerated, Dynamic]
The body type (e.g., "Legacy", "None", "Static", "AIGenerated", "Dynamic").
Possible values: non-empty
The body value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the body template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
When true, response headers will be included in the skill result.
When true, Set-Cookie headers will be enabled in the response.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Image Generation skill within an agent.
Possible values: non-empty, [ImageGenerator]
The skill type identifier. Always "ImageGenerator" for image generation skills.
settings
object
Configuration options for the image generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Prompt skill within an agent.
Possible values: non-empty, [Prompt]
The skill type identifier. Always "Prompt" for prompt-based skills.
settings
object
required
Configuration options for the prompt skill.
Possible values: <= 40000 characters
The prompt template to be used for this skill. This can include placeholders for input parameters.
How the configured instructions are processed by the agent ("Execution" or "Instruction"). Optional for backward compatibility; the value is validated in the factory and, when omitted, defaults to "Execution".
parameters
object[]
nullable
Variable definitions for the prompt template. One entry per {{variable}} placeholder
referenced in the prompt, describing how the AI should fill it at execution time.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Remote MCP skill within an agent.
Possible values: non-empty, [RemoteMcp]
The skill type identifier. Always "RemoteMcp" for remote MCP skills, including their variants.
Code of the remote MCP plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the Remote MCP skill.
Possible values: non-empty
The server URL for the Remote MCP endpoint.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a skill within an agent.
Possible values: non-empty, [ChartGeneration, CheckCondition, ConversationContext, ConversationRetriever, ConversationSummary, JsonMerge, Math, Text, Time, Wait, WebFileDownload, Workbench]
The plugin identifier (e.g., "ChartGeneration", "Math").
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Speech Generation skill within an agent.
Possible values: non-empty, [SpeechGeneration]
The skill type identifier. Always "SpeechGeneration" for speech generation skills.
settings
object
Configuration options for the speech generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
The voice used for the audio generation. Must be one of the voices available for the resolved vendor. Optional: when omitted, the vendor's first available voice is used.
Possible values: <= 128 characters
Raw vendor voice id, to use a voice available in the tenant's own vendor account.
Optional: takes precedence over voice.
Speed of the generated audio. Ignored by the models that don't accept a speed; otherwise defaults to 1 when not provided and is clamped to the model's accepted range.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Web Search skill within an agent.
Possible values: non-empty, [WebSearch]
The skill type identifier. Always "WebSearch" for web search skills.
settings
object
Configuration options for the web search skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Workflow Executor skill within an agent.
Possible values: non-empty, [WorkflowExecutor]
The skill type identifier. Always "WorkflowExecutor" for workflow executor skills.
settings
object
required
Configuration options for the workflow executor skill.
The unique identifier of the workflow definition to execute.
The version of the workflow to execute. Returned as null when the workflow no longer exists.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
skillsAdvancedSettings
object
Settings that apply to the agent's skills as a whole rather than to a single skill.
selectionOptimization
object
Skill selection optimization: before each execution, a decision model picks the skills the execution needs, so the
agent doesn't load every skill.
Whether the decision model selects the skills of each execution.
The decision model that selects the skills. When neither this nor ModelCode and Vendor are sent, the platform's default decision model is used.
The code of the decision model. Used together with Vendor when AIModelId is not provided.
The vendor of the decision model. Used together with ModelCode when AIModelId is not provided.
Possible values: <= 1
The minimum probability the decision model must give a skill for it to be imported. Higher imports fewer skills. When not sent, the platform's default threshold is used.
Possible values: <= 100
The codes of the agent's skills that are always imported, without the decision model evaluating them. Every tool of an MCP skill is included. When not sent, creating or replacing an agent includes none, and updating a version keeps the current ones.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code to use. Used together with Vendor when AIModelId is not provided.
The vendor of the model to use. Used together with ModelCode when AIModelId is not provided.
Body
The system agent update request containing details.
Array [
]
Array [
]
Array [
- AgentExecutorSkillReq
- CodeExecutionSkillReq
- EmailSkillReq
- HttpRequestSkillReq
- ImageGenerationSkillReq
- PromptSkillReq
- RemoteMcpSkillReq
- SkillReq
- SpeechGenerationSkillReq
- WebSearchSkillReq
- WorkflowExecutorSkillReq
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
Array [
]
Array [
]
- ApiKeyAuthReq
- BasicAuthReq
- BearerTokenAuthReq
- CookiesAuthReq
Array [
Array [
]
]
]
general
object
required
Possible values: non-empty and <= 64 characters
Possible values: <= 2000 characters
instructions
object
required
Possible values: non-empty and <= 40000 characters
Possible values: <= 4000 characters
inputParameters
object[]
nullable
Replaces the whole input parameter list. Parameters referenced from the system definition or the initial message are re-created with their default configuration when they are not sent.
Possible values: non-empty, Value must match regular expression ^[a-zA-Z0-9_]+$
The parameter name. Only letters, digits and underscores are allowed.
A description of the parameter.
Possible values: [array, boolean, number, object, string]
The data type of an input parameter.
Whether the parameter must be supplied when the agent is executed.
Value used when the execution does not supply the parameter. It must match the parameter type.
model
object
required
main
object
required
The unique identifier of the AI model to be used by the agent. Alias of aiModelId.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code associated with the AI model to be used by the agent. Required if Id is not provided.
The vendor associated with the AI model to be used by the agent. Required if Id is not provided.
parameters
object
Request DTO for configuring AI model execution parameters.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing similar completions.
A JSON object that maps tokens to an associated bias value from -100 to 100.
The maximum number of tokens shared between the Prompt and the Output.
The maximum number of tokens that can be generated by the AI in the response.
A float value between -2 and 2 that penalizes the likelihood of an agent reusing phrases already present in the input.
The reasoning level of the agent's response (e.g., "low", "medium", "high").
The level of detail of reasoning events exposed during execution (e.g., "auto", "none", "summary", "full").
Defines sequences of tokens upon which the agent should stop generating completions.
A float value between 0 and 2 that determines the randomness of the agent's responses.
A float value that specifies the Top-K sampling parameter.
A float value between 0 and 1 that specifies the probability cutoff for generating the response (nucleus sampling).
Defines if the agent should use Vision capabilities.
Defines if the agent sends attached PDF files directly to the model provider instead of scanning them first. Only applies to models that support it.
Defines if the agent should use Plugin Emulator instead of native tools.
Defines if the agent should use extended thinking (Alibaba Cloud and DeepSeek only).
Token budget for extended thinking on vendors configured by an explicit token budget
(e.g. Anthropic's budget_tokens), where setting a budget is itself the opt-in for extended thinking
Voice identifier for realtime/audio models (e.g. "shimmer", "alloy"). Null when not applicable.
knowledge
object
knowledgeSources
object[]
nullable
List of files to be integrated
metadata
object
Possible values: <= 1000 characters
Possible values: <= 1021 characters
List of dataset ids to be integrated as knowledge sources
advancedSettings
object
The mode of knowledge integration, which determines how the knowledge is integrated into the agent's context. If not provided, default values will be set
The model used to generate the embeddings IF changed, all files will be reprocessed.
The model code used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
The model vendor used to generate the embeddings IF changed, all files will be reprocessed. Required if identifier is not provided.
Possible values: <= 1
The relevance score of the knowledge If not provided, default values will be set
Possible values: >= 1 and <= 100
Sets a limit on the number of sections to retrieve If not provided, default values will be set
skills
object[]
nullable
List of skills to be added to the agent.
oneOf
Request model for creating or updating an Agent Executor skill within an agent.
Possible values: non-empty, [AgentExecutor]
The skill type identifier. Always "AgentExecutor" for agent executor skills.
settings
object
required
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9\-]*$
The code of the agent to execute when this skill is invoked.
The version of the agent to use for this skill.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Code Execution skill within an agent.
Possible values: non-empty, [CodeExecution]
The skill type identifier. Always "CodeExecution" for code execution skills.
settings
object
Configuration options for the code execution skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Email skill within an agent.
Possible values: non-empty, [Email]
The skill type identifier. Always "Email" for email skills.
settings
object
required
Configuration options for the email skill.
List of email recipients.
Possible values: non-empty, [Static, AIGenerated, Dynamic]
The content type (e.g., "Static", "AIGenerated", "Dynamic").
Email subject. May include Liquid template placeholders.
Email body content. May include HTML and Liquid template placeholders.
parameters
object[]
nullable
Variable definitions for the Dynamic content mode. One entry per {{variable}} placeholder
detected across the subject and/or body, unified (de-duplicated) into a single set.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
customSmtpConfiguration
object
Custom SMTP server configuration for sending emails.
Possible values: non-empty
The display name of the sender.
Possible values: non-empty
The email address of the sender.
Possible values: non-empty
The SMTP server address.
The username for SMTP authentication.
The password for SMTP authentication.
Possible values: >= 1 and <= 65535
The SMTP server port.
Whether to use TLS/SSL for secure connection.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an HTTP Request skill within an agent.
Possible values: non-empty, [HttpRequest]
The skill type identifier. Always "HttpRequest" for HTTP request skills, including their variants.
Code of the HTTP request plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the HTTP request skill.
Possible values: non-empty
The HTTP method to use for the request (e.g., "GET", "POST", "PUT", "DELETE").
url
object
required
Represents a URL configuration with dynamic parameters.
Possible values: non-empty
The URL value, which may contain Liquid template placeholders (e.g., "https://api.example.com/v1/{{ resource }}").
parameters
object[]
nullable
The parameters that can be used within the URL template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
body
object
Represents the body configuration for an HTTP request.
Possible values: non-empty, [Legacy, None, Static, AIGenerated, Dynamic]
The body type (e.g., "Legacy", "None", "Static", "AIGenerated", "Dynamic").
Possible values: non-empty
The body value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the body template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
When true, response headers will be included in the skill result.
When true, Set-Cookie headers will be enabled in the response.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating an Image Generation skill within an agent.
Possible values: non-empty, [ImageGenerator]
The skill type identifier. Always "ImageGenerator" for image generation skills.
settings
object
Configuration options for the image generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Prompt skill within an agent.
Possible values: non-empty, [Prompt]
The skill type identifier. Always "Prompt" for prompt-based skills.
settings
object
required
Configuration options for the prompt skill.
Possible values: <= 40000 characters
The prompt template to be used for this skill. This can include placeholders for input parameters.
How the configured instructions are processed by the agent ("Execution" or "Instruction"). Optional for backward compatibility; the value is validated in the factory and, when omitted, defaults to "Execution".
parameters
object[]
nullable
Variable definitions for the prompt template. One entry per {{variable}} placeholder
referenced in the prompt, describing how the AI should fill it at execution time.
Possible values: non-empty
The variable name (matches the {{variable}} placeholder).
Possible values: non-empty
The instruction that explains how the AI should fill this variable.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Remote MCP skill within an agent.
Possible values: non-empty, [RemoteMcp]
The skill type identifier. Always "RemoteMcp" for remote MCP skills, including their variants.
Code of the remote MCP plugin variant this skill is configured from. Omitted when the skill is not a variant.
connection
object
Connection used by a skill variant whose connector authenticates its requests.
Possible values: [shared, personal]
The shared connection to use. Only applies to "shared" connections and must belong to the current user. When omitted on an update, the skill keeps its current shared connection. It is only returned to the owner of the connection.
settings
object
required
Configuration settings for the Remote MCP skill.
Possible values: non-empty
The server URL for the Remote MCP endpoint.
auth
object
nullable
Authentication configuration for the HTTP request.
oneOf
API Key authentication configuration.
Possible values: non-empty
The header name where the API key should be included (e.g., "X-Api-Key").
Possible values: non-empty
The API key value.
Basic authentication configuration.
Possible values: non-empty
The username for basic authentication.
Possible values: non-empty
The password for basic authentication.
Bearer Token authentication configuration.
Possible values: non-empty
The bearer token value.
Cookies-based authentication configuration.
headers
object[]
nullable
Optional headers to include in the HTTP request.
Possible values: non-empty
The header key (e.g., "Content-Type", "Authorization").
Possible values: non-empty
The header value, which may contain Liquid template placeholders.
parameters
object[]
nullable
The parameters that can be used within the header value template.
Possible values: non-empty
The parameter name.
Possible values: non-empty
The parameter description that explains its purpose.
Whether the variable is considered required (rather than optional).
The default value for the input variable.
JSON Schema describing this variable.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a skill within an agent.
Possible values: non-empty, [ChartGeneration, CheckCondition, ConversationContext, ConversationRetriever, ConversationSummary, JsonMerge, Math, Text, Time, Wait, WebFileDownload, Workbench]
The plugin identifier (e.g., "ChartGeneration", "Math").
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Speech Generation skill within an agent.
Possible values: non-empty, [SpeechGeneration]
The skill type identifier. Always "SpeechGeneration" for speech generation skills.
settings
object
Configuration options for the speech generation skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
The voice used for the audio generation. Must be one of the voices available for the resolved vendor. Optional: when omitted, the vendor's first available voice is used.
Possible values: <= 128 characters
Raw vendor voice id, to use a voice available in the tenant's own vendor account.
Optional: takes precedence over voice.
Speed of the generated audio. Ignored by the models that don't accept a speed; otherwise defaults to 1 when not provided and is clamped to the model's accepted range.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Web Search skill within an agent.
Possible values: non-empty, [WebSearch]
The skill type identifier. Always "WebSearch" for web search skills.
settings
object
Configuration options for the web search skill.
The unique identifier of the AI model to be used by this skill. Required if ModelCode and Vendor are not provided.
The model code associated with this skill. Required if AIModelId is not provided.
The vendor providing the model or service. Required if AIModelId is not provided.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
Request model for creating or updating a Workflow Executor skill within an agent.
Possible values: non-empty, [WorkflowExecutor]
The skill type identifier. Always "WorkflowExecutor" for workflow executor skills.
settings
object
required
Configuration options for the workflow executor skill.
The unique identifier of the workflow definition to execute.
The version of the workflow to execute. Returned as null when the workflow no longer exists.
Possible values: <= 50 characters, Value must match regular expression ^[a-zA-Z0-9]+$
The unique code for this skill configuration.
Possible values: <= 4000 characters
The description of this skill configuration.
When set to true, the skill result will be returned within the agent result.
When set to true, the skill results will be cached and reused throughout a conversation as long as the input parameters remain the same.
When set to true, each call the agent makes to this skill must be approved by the user before it runs.
Only active skills will be imported during agent execution.
skillsAdvancedSettings
object
Settings that apply to the agent's skills as a whole rather than to a single skill.
selectionOptimization
object
Skill selection optimization: before each execution, a decision model picks the skills the execution needs, so the
agent doesn't load every skill.
Whether the decision model selects the skills of each execution.
The decision model that selects the skills. When neither this nor ModelCode and Vendor are sent, the platform's default decision model is used.
The code of the decision model. Used together with Vendor when AIModelId is not provided.
The vendor of the decision model. Used together with ModelCode when AIModelId is not provided.
Possible values: <= 1
The minimum probability the decision model must give a skill for it to be imported. Higher imports fewer skills. When not sent, the platform's default threshold is used.
Possible values: <= 100
The codes of the agent's skills that are always imported, without the decision model evaluating them. Every tool of an MCP skill is included. When not sent, creating or replacing an agent includes none, and updating a version keeps the current ones.
The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.
The model code to use. Used together with Vendor when AIModelId is not provided.
The vendor of the model to use. Used together with ModelCode when AIModelId is not provided.
Responses
- 200
- 400
- 401
- 403
- 500
System agent updated successfully.
If the request is invalid or business validation fails.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Array [
]
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
errors
object
nullable
Map of keys (an invalid request field or the rule that failed) to messages. Only present when the error has specific detail to report. Values are strings, except on input_validation_error, where each value is an array of messages for that field.
property name*
object
nullable
oneOf
string
string
{
"code": "string",
"message": "string",
"documentationUrl": "string",
"errors": {}
}
The user is unauthorized or the session expired
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
The user does not have permission
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
There was an unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}