PAI Chat·Endpoint
POST
/chatbot/{chatbotId}/folderCreate a new folder for a chatbot
Create a new folder for a chatbot
PATCH/chatbot/{chatbotId}/folder/{folderId}arrow_forwardtune
Parameters
chatbotIdrequiredpath
string (uuid)The ID of the chatbot instance to upload the document to
upload
Request body
namerequired
stringThe name of the folder
parentFolderId
string (uuid)The UUID of the parent folder (optional, for nested folders)
double_arrow
Returns 201
idrequired
string (uuid)The generated UUID for the new folder
namerequired
stringThe name of the folder
chatbotIdrequired
string (uuid)The UUID of the chatbot this folder belongs to
parentFolderIdrequired
null,string (uuid)The UUID of the parent folder, if any
createdAtrequired
string (date-time)updatedAtrequired
string (date-time)report
Errors