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:modify

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
object
Capabilities of the new version, in the same form as capabilities on Create Agent.
object
Updated execution policies
object
Updated output configuration
array
Updated subagent definitions
array
Updated skill references. Every skill must be usable: if any has not passed security review, does not exist, or has no package, the request fails with 400 and SKILL_NOT_USABLE, naming each skill and the reason.
string
Updated system prompt
object
Updated model-specific settings
object
Updated runtime binding configuration

Response

object