Skip to main content
POST
/
v1
/
create_expert
Create Expert
curl --request POST \
  --url https://api.b-bot.space/api/v2/v1/create_expert \
  --header 'Content-Type: application/json' \
  --header 'bbot-api-key: <api-key>' \
  --header 'bbot_api_key: <bbot_api_key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "profession": "<string>",
  "system_message": "<string>",
  "function_description": "<string>",
  "function_name": "<string>",
  "apps": "<array>",
  "experts": [
    123
  ],
  "profile_picture": 123,
  "expert_llm_models": "<array>"
}
'
{
  "id": 123,
  "attributes": {}
}
Permission Required: This endpoint is only available for Agencies and Middleware Partners.

Authorizations

bbot-api-key
string
header
required

API key for authentication

Headers

bbot_api_key
string
required

API Key for authentication

Body

application/json

Schema for creating a new expert

name
string
required

The expert's name

description
string
required

A description of the expert's purpose

profession
string
required

The expert's profession or role

system_message
string
required

System-level instructions

function_description
string

Description of the expert's main function

function_name
string

Function name identifier

apps
array

Connected applications array

experts
integer[]

Team member expert IDs array

profile_picture
integer

Media library ID of the profile picture

expert_llm_models
array

LLM model configurations

Response

Success

id
integer

Created expert ID

attributes
object

Expert attributes