This endpoint is used to update the public status of an agent.
Request Parameters
The unique identifier for the agent (UUID format)
The new public status for the agent
Response
Status of the operation (e.g., “success”)
Success message indicating the agent public status was updated
The agent ID that was updated (UUID format)
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
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
}