Skip to main content
POST
/
agent
/
update
/
name
Python
from superu import SuperU

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "agent_id": "ag_01HXR8FM5QYCVXAK4TYFJ4AEP0",
    "name": "Sales Assistant V2"
}

response = client.agents.update_name(**payload)
print(response)
{
  "status": "success",
  "agent_id": "ag_01HXR8FM5QYCVXAK4TYFJ4AEP0",
  "name": "Sales Assistant V2",
  "message": "Agent name updated"
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Update agent name.

Agent Update Name Request schema.

agent_id
string
required

Agent ID

Example:

"ag_01HXR8FM5QYCVXAK4TYFJ4AEP0"

name
string
required

New name

Example:

"Sales Assistant V2"

Response

Agent name updated

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.