v1
latestOpenAPI 3.0.32026-07-26231418.5 KBAgents
Update an agent
patch/api/agents/{agent_id}
Path parameters
agent_idstring required
Request body
Example request
{
"name": "my-agent",
"owner_id": "local-user",
"runtime": "cursor",
"model": "claude-opus-4-5",
"system": "You are a helpful assistant."
}Response
Updated agent
Example response
{
"name": "my-agent",
"model": "claude-opus-4-5",
"status": "paused",
"harness": "claude-code"
}