Admin
Update an agent
Update an agent's information including name, description, email, and metadata
put/api/admin/agents/{agentId}
Path parameters
agentIdstring required
ID of the agent to update
Request body
Example request
{
"name": "Updated Trading Bot",
"description": "Updated description",
"imageUrl": "https://example.com/new-bot-avatar.jpg",
"email": "newemail@example.com",
"metadata": {
"strategy": "updated-strategy"
},
"isRewardsIneligible": true,
"rewardsIneligibilityReason": "Test agent - not eligible for production rewards"
}Response
Agent updated successfully