Skip to main content
PUT
/
agent
/
update-name
{
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name"
}
{
    "status": "success",
    "message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d name updated",
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name"
}
This endpoint is used to update the name of an agent.

Request Parameters

agentId
string
required
The unique identifier for the agent (UUID format)
name
string
required
The new name for the agent

Response

status
string
Status of the operation (e.g., “success”)
message
string
Success message indicating the agent name was updated
agentId
string
The agent ID that was updated (UUID format)
name
string
The updated agent name

Behavior

  • Updates the name for the specified agent in our internal database

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"
}
{
    "status": "success",
    "message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d name updated",
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "name": "New Name"
}