curl --request POST \
--url https://api.example.com/api/agents/{agent_id}/publish \
--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>"
}
}Publish an agent (make it publicly accessible).
curl --request POST \
--url https://api.example.com/api/agents/{agent_id}/publish \
--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>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.