Skip to main content
PATCH
/
v1
/
agents
/
{agentId}
Update Agent
curl --request PATCH \
  --url https://app.opencomputer.dev/v1/agents/{agentId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "display_name": "<string>",
  "config": {}
}
'
{
  "id": "my-hermes",
  "display_name": "My Hermes Agent",
  "core": "hermes",
  "channels": ["telegram"],
  "packages": ["gbrain"],
  "secret_store": "agent:my-hermes",
  "config": null,
  "created_at": "2026-04-09T10:30:00Z",
  "updated_at": "2026-04-10T08:15:00Z"
}
Update an agent’s display name or configuration. CLI equivalent: none (REST only)
agentId
string
required
Agent ID
display_name
string
New display name
config
object
Updated configuration (partial update)
{
  "id": "my-hermes",
  "display_name": "My Hermes Agent",
  "core": "hermes",
  "channels": ["telegram"],
  "packages": ["gbrain"],
  "secret_store": "agent:my-hermes",
  "config": null,
  "created_at": "2026-04-09T10:30:00Z",
  "updated_at": "2026-04-10T08:15:00Z"
}