v1
latestOpenAPI 3.0.0Proprietary2026-07-132885152.8 KBUpdate an agent
Update an existing agent.
Path parameters
The unique identifier of the agent
Request body
The new name for the agent
Replacement description. Omit or pass null to leave unchanged, or use an empty value to clear.
Replacement prompt. Omit or pass null to leave unchanged, or use an empty value to clear.
Replacement default cloud environment ID. Omit or pass null to leave unchanged, or pass an empty string to clear.
Replacement list of skill specs. Omit to leave unchanged, pass an empty array to clear, or pass a non-empty array to replace.
Replacement base model. Omit or pass null to leave unchanged, or pass an empty string to clear.
Replacement default harness. Omit or pass null to leave unchanged, or pass an empty string to clear.
Response
Agent updated successfully
Unique identifier for the agent
Name of the agent
Optional description of the agent
Optional base prompt for this agent
Default cloud environment ID for runs executed by this agent. The precedence order for environment resolution is:
- The environment specified on the run itself
- The agent's default environment
- An empty environment
Whether this agent is within the team's plan limit and can be used for runs
When the agent was created (RFC3339)
When the agent was last updated (RFC3339)
Ordered list of normalized skill specs associated with this agent. Always present; empty when no skills are attached.
Base model for runs executed by this agent. The precedence order for model resolution is:
- The model specified on the run itself
- The agent's base model
- The team's default model
Default harness for runs executed by this agent. The precedence order for harness resolution is:
- The harness specified on the run itself
- The agent's base harness
- Oz