Create agent
Create a new agent with optional capabilities and configuration. Supports runtype, external, and claude_managed agent types.
Authentication
AuthorizationBearer
API key or Clerk session token
Request
This endpoint expects an object.
name
agentType
Allowed values:
capabilities
claudeManagedConfig
config
description
externalConfig
icon
maxTurns
primaryFlowId
Response
Agent created
agentType
capabilities
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