PAI Chat·Endpoint
POST
/chatbotCreate a new chatbot
Create a new chatbot
GET/chatbot/{chatbotId}arrow_forwardupload
Request body
namerequired
stringThe name of the chatbot
slugrequired
stringA URL-friendly slug for the chatbot (lowercase letters, numbers, and hyphens)
typerequired
string · chat | supportThe type of chatbot
active
booleanWhether the chatbot is active
domain
string (hostname)The domain for the chatbot (must be unique). Required for chat chatbots.
brandingrequired
objectStyle/branding config. Field set depends on chatbot type.
llmsrequired
objectLLM assignments per pipeline task
double_arrow
Returns 201
idrequired
string (uuid)The generated UUID for the new chatbot
organizationIdrequired
string (uuid)The UUID of the organization
namerequired
stringThe name of the chatbot
slugrequired
stringThe slug of the chatbot
typerequired
stringThe type of chatbot
activerequired
booleanWhether the chatbot is active
domain
stringThe domain for the chatbot
createdAtrequired
string (date-time)updatedAtrequired
string (date-time)report
Errors