Update agent
Update an existing agent. Supports partial updates — only provided fields are changed. Config updates are deep-merged.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Request
This endpoint expects an object.
agentType
Allowed values:
claudeManagedConfig
config
description
externalConfig
icon
maxTurns
name
primaryFlowId
Response
Agent updated
agentType
claudeManagedConfig
config
configHash
createdAt
description
draftVersionId
externalConfig
healthStatus
icon
id
lastHealthCheckAt
lastModifiedSource
name
organizationId
primaryFlowId
publishedVersionId
status
updatedAt
userId
_warnings
dashboardUrl
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error