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

Request Parameters

agentId
string
required
The unique identifier for the agent (UUID format)
isPublic
boolean
required
The new public status for the agent

Response

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

Behavior

  • Updates the public status 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",
    "isPublic": true
}
{
    "status": "success",
    "message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d public status updated",
    "agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
    "isPublic": true
}