Update agent

PATCH/v1/agents/{agentId}

Update an existing agent configuration. Use /agents/models to discover the current managed and external model catalog for the workspace.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
agentIdpathstringYesAgent ID
Query parameters
None.

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
namestringNoHuman-readable name.
descriptionstringNoHuman-readable description.
modelstringNoModel identifier for the agent. Built-in managed models: - `claude-opus-4-6` - `claude-sonnet-4-5` - `claude-haiku-4-5` - `gemini-3-flash` - `gemini-3-1-pro` Team and Enterprise workspaces can also use connected external models in the form `external:{providerType}:{urlEncodedModelId}`. Use `GET /agents/models` to discover the exact managed and external model IDs available in the current workspace.
instructionsstringNo
binaryClaude Code CLINoExecution binary used for the agent runtime.
reasoningEffortminimal | low | medium | highNoReasoning intensity used by the execution runtime.
enabledSkillsstring[]NoList of enabled skill IDs.
deepResearchModelgemini-3-flash-preview | gemini-3-pro-previewNoOptional model override used by the deep research skill when enabled.
metadataobjectNoFree-form metadata object.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Agent updatedapplication/json
FieldTypeRequiredDescription
agentobjectNo
agent.idstringNoUnique identifier.
agent.userIdstringNoUser ID.
agent.projectIdstringNoProject ID.
agent.namestringNoHuman-readable name.
agent.descriptionstringNoHuman-readable description.
agent.modelstringNoModel identifier for the agent. Built-in managed models: - `claude-opus-4-6` - `claude-sonnet-4-5` - `claude-haiku-4-5` - `gemini-3-flash` - `gemini-3-1-pro` Team and Enterprise workspaces can also use connected external models in the form `external:{providerType}:{urlEncodedModelId}`. Use `GET /agents/models` to discover the exact managed and external model IDs available in the current workspace.
agent.instructionsstringNo
agent.binaryClaude Code CLINoExecution binary used for the agent runtime.
agent.reasoningEffortminimal | low | medium | highNoReasoning intensity used by the execution runtime.
agent.enabledSkillsstring[]NoSkill IDs enabled for this agent, for example `deep_research` or custom installed skills.
agent.deepResearchModelgemini-3-flash-preview | gemini-3-pro-previewNoOptional model override used by the deep research skill when enabled.
agent.isDefaultbooleanNo
agent.isSystembooleanNo
agent.isActivebooleanNo
agent.metadataobjectNoFree-form metadata object.
agent.createdAtstringNoISO 8601 timestamp.
agent.updatedAtstringNoISO 8601 timestamp.
agent.lastRunAtstringNo
Update agent
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow