Create an agent
Agents
Create an agent
Creates a new agent in the current project. The identifier must be lowercase alphanumeric with hyphens, starting with a letter or number (max 50 chars).
The response does not include the agent’s access token — read it from GET /agents or regenerate it with POST /agents/{agentId}/regenerate-token.
POST
Create an agent
Authorizations
API key obtained from the dashboard or GET /user/api-key
Body
application/json
Display name for the agent
Required string length:
1 - 255Example:
"Claude Assistant"
Unique identifier (lowercase, alphanumeric, hyphens)
Pattern:
^[a-z0-9][a-z0-9-]{0,49}$Example:
"claude-assistant"
Identifier of a parent agent. The new agent inherits the parent's secret mode, secret assignments, and app-connection assignments.
Pattern:
^[a-z0-9][a-z0-9-]{0,49}$Example:
"orchestrator"