Skip to main content
POST
/
api
/
agents
/
{agent_id}
/
unpublish
Unpublish Agent
curl --request POST \
  --url https://api.example.com/api/agents/{agent_id}/unpublish \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "agent": {
    "id": 123,
    "user_id": 123,
    "name": "<string>",
    "description": "<string>",
    "instructions": "<string>",
    "execution_mode": "<string>",
    "models": {},
    "knowledge_bases": [
      "<string>"
    ],
    "skills": [
      "<string>"
    ],
    "tool_categories": [
      "<string>"
    ],
    "suggested_prompts": [
      "<string>"
    ],
    "logo_url": "<string>",
    "status": "<string>",
    "published_at": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
integer
required

Response

Successful Response

Response model for publish/unpublish operations.

message
string
required
agent
AgentResponse · object
required

Response model for agent data.