Skip to main content
PATCH
Partial update. Two fields have fan-out semantics: editing default_template or default_agent also updates every trigger integration linked to this agent (the roster row is the source of truth for defaults). Required scope: integrations:write

Path Parameters

string
required
The agent ID.

Request Body

All fields optional; omitted fields are unchanged.
string
New display name.
string
New description.
object
New avatar descriptor.
string
New system instructions.
string | null
New default template. Send an explicit null to clear it. Fans out to linked triggers either way.
string
New coding agent harness. Only concrete values apply; it cannot be cleared with null.
object
Replacement rubric. The server bumps version on every edit so run grades record which rubric produced them.
object
Replacement task values and budget.
string | null
Group that may edit, disable or delete the agent. Send null for everyone in the org.
object
Who may launch it: {"humans": true, "groups": ["team_ops"], "agents": [{"agent_id": "...", "approval": {"required_team_id": "team_ops"}}]}. Both lists empty = anyone in the org; naming anyone closes it to exactly those. humans: false bars every person regardless, including org admins. See Trigger a subagent.

Response

The updated agent object.