Update agent
Hot-patch the agent in place — changes are live immediately on the next run.
No new version is created. Use system_prompt for the common case of just
editing the prompt; use config to replace the entire configuration object.
Authorizations
Workspace API key issued from the web app. Pass as
Authorization: Bearer YOUR_API_KEY.
Path Parameters
UUID of the agent.
Body
Partial update. Provide only the fields you want to change. Hot-patched in place — no new version is created.
Convenience field — overwrites config.system_prompt while leaving other config keys untouched.
Replaces the entire config object. To make a targeted change to one
field, use system_prompt (for the prompt) or GET first and PATCH
back the merged object.
Response
Updated agent.
Full agent representation.
ID of this specific version of the agent.
Stable identifier across all versions of this agent. Use this when you need to refer to "the agent" as a logical entity rather than a specific version.
Sequential version number (1, 2, 3 …) within this agent group.
Lifecycle status of an agent version.
draft— work-in-progress, not yet runnable for end userspublished— live, runnablearchived— superseded by a newer version
draft, published, archived Full agent configuration object. Free-form JSON — common keys include
system_prompt, tools, states, milestones, model. Treat unknown
keys as opaque.
Whether this agent can be run. Inactive agents reject runs with 403.