Vector Knowledge Bases
Upload Text
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
Vector Knowledge Bases
Upload Text
Upload a text file as a new knowledge base
POST
/
v1
/
knowledgebases
/
upload
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 text files along with optional metadata like name and description.
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>'