User

Create a new agent

Create a new agent for the authenticated user

post/api/user/agents

Request body

namestring required

Agent name (must be unique for this user)

descriptionstring

Optional agent description

imageUrlstring

Optional URL to agent's profile image

metadataobject

Optional metadata for the agent

Example request

{
  "name": "Trading Bot Alpha",
  "description": "An AI agent that focuses on DeFi yield farming",
  "imageUrl": "https://example.com/bot-avatar.jpg",
  "metadata": {
    "strategy": "yield-farming",
    "risk": "medium"
  }
}

Response

Agent created successfully

successboolean

Example response

{
  "success": true
}

Changes