Knowledge Bases
Upload Text
Creates a new knowledge base from direct text input.
POST
Create a knowledge base by providing text content directly in the request. This is ideal for when you have structured text content that you want to make searchable for your AI agents.Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Must be
application/json for text-based knowledge bases.Body Parameters
Must be
"text" for text-based knowledge bases.Name for the knowledge base.
Optional description of the knowledge base content.
Text content to be stored in the knowledge base (maximum 1MB).
Response
The created knowledge base object.
Unique identifier for the knowledge base.
Name of the knowledge base.
Description of the knowledge base (if provided).
Current status:
"PROCESSING", "COMPLETED", "FAILED", or "DELETED".Will be
"TEXT" for text-based knowledge bases.ISO timestamp of creation.
ISO timestamp of last update.
Error message if status is
"FAILED".Will be
null on successful creation.Docs for agents: llms.txt