Skip to main content

Update skills advanced settings

PATCH 

/api/v2/AgentVersion/:agentCode/:agentVersion/skillsAdvancedSettings

Updates the settings that apply to all the skills of an agent version. Settings not sent are disabled, except the always included skills, which are kept when not sent.

Request​

Path Parameters

    agentCode stringrequired

    The code of the agent.

    agentVersion int32required

    The version number of the agent.

Query Parameters

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Body

The skills advanced settings.

    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.

    isEnabled boolean

    Whether the decision model selects the skills of each execution.

    aiModelId uuidnullable

    The decision model that selects the skills. When neither this nor ModelCode and Vendor are sent, the platform's default decision model is used.

    modelCode stringnullable

    The code of the decision model. Used together with Vendor when AIModelId is not provided.

    vendor stringnullable

    The vendor of the decision model. Used together with ModelCode when AIModelId is not provided.

    threshold doublenullable

    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.

    alwaysIncludedSkills string[]nullable

    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.

    aiModelId uuidnullable

    The unique identifier of the AI model to use. Used instead of Vendor and ModelCode.

    modelCode stringnullable

    The model code to use. Used together with Vendor when AIModelId is not provided.

    vendor stringnullable

    The vendor of the model to use. Used together with ModelCode when AIModelId is not provided.

Responses​

Skills advanced settings updated successfully.

Loading...