Skip to main content
Creates a new version of the specified agent. The new version uses merge semantics: only the fields you supply override the previous version’s values. Omitted fields carry forward from the current version unchanged. This is how you update an agent’s model, capabilities, policies, subagents, skills, system prompt, and other configuration. The agent’s version field automatically advances to the newly created version.
Permission required: agent:version_create

Path Parameters

string
required
Agent identifier

Request Body

All fields are optional. Only supplied fields override the previous version.
string
Model to use for this version
array
Updated list of capability identifiers
object
Updated execution policies
object
Updated output configuration
array
Updated subagent definitions
array
Updated skill references
string
Updated system prompt
object
Updated model-specific settings
object
Updated runtime binding configuration

Response

object