Skip to main content
PUT
/
agent
/
update-info
{
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name",
    "description": "New Description",
    "imageUrl": "https://example.com/image.png",
    "isPublic": true,
    "agentFees": {
        "self": {
            "fee": 1.5,
            "feeAddress": "0x56d0573C786d3DB...",
            "type": "BPS"
        }
    }
}
{
    "status": "success",
    "message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d updated successfully",
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name",
    "description": "New Description",
    "imageUrl": "https://example.com/image.png",
    "isPublic": true,
    "feeData": [
        {
            "partner": "self",
            "fee": 1.5,
            "feeAddress": "0x56d0573C786d3DB...",
            "feeType": "BPS"
        }
    ]
}
This endpoint is used to update the info of an agent all at once.

Request Parameters

agentId
string
required
The unique identifier for the agent (UUID format)
name
string
Optional new name for the agent
description
string
Optional new description for the agent
imageUrl
string
Optional new image URL for the agent
isPublic
boolean
Optional new public status for the agent. Accepts true, false, or "true" as string
agentFees
object
Optional fee configuration object

Response

status
string
Status of the operation (e.g., “success”)
message
string
Success message indicating the agent was updated successfully
agentId
string
The agent ID that was updated (UUID format)
name
string
The updated agent name (if provided)
description
string
The updated agent description (if provided)
imageUrl
string
The updated agent image URL (if provided)
isPublic
boolean
The updated agent public status (if provided)
feeData
array
Array of fee configuration objects that were set for the agent

Behavior

  • Updates the specified agent information in our internal database
  • Allows updating multiple fields at once (name, description, imageUrl, isPublic, agentFees)

Authentication

B2B JWT token OR Privy authentication token and headers

Headers

When using Privy authentication token, include the following header:
  • x-privy-id-token: Privy ID token
{
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name",
    "description": "New Description",
    "imageUrl": "https://example.com/image.png",
    "isPublic": true,
    "agentFees": {
        "self": {
            "fee": 1.5,
            "feeAddress": "0x56d0573C786d3DB...",
            "type": "BPS"
        }
    }
}
{
    "status": "success",
    "message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d updated successfully",
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name",
    "description": "New Description",
    "imageUrl": "https://example.com/image.png",
    "isPublic": true,
    "feeData": [
        {
            "partner": "self",
            "fee": 1.5,
            "feeAddress": "0x56d0573C786d3DB...",
            "feeType": "BPS"
        }
    ]
}