Headers
Your API key for authentication.
Body
The text file to be uploaded. Must be a .pdf, .txt, .doc, or .docx file.
Name for the uploaded text file
Description for the uploaded text file
curl --request POST \
--url https://api.bland.ai/v1/knowledgebases/upload \
--header 'Content-Type: multipart/form-data' \
--header 'authorization: <authorization>' \
--form 'name=<string>' \
--form 'description=<string>'
Upload a text file as a new knowledge base
curl --request POST \
--url https://api.bland.ai/v1/knowledgebases/upload \
--header 'Content-Type: multipart/form-data' \
--header 'authorization: <authorization>' \
--form 'name=<string>' \
--form 'description=<string>'
Was this page helpful?