Skip to main content
POST
/
knowledgebase
Create Knowledgebase
curl --request POST \
  --url https://api.kallabot.com/knowledgebase \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'friendly_name=Customer Support Documentation' \
  --form file=@example-file
{
  "kb_id": "123e4567-e89b-12d3-a456-426614174000",
  "vector_store_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "processing",
  "friendly_name": "Customer Support Documentation",
  "file_type": "application/pdf",
  "supported_formats": "PDF, Word documents, text files, Markdown, HTML, XML, RTF, EPUB, CSV"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
friendly_name
string
required

Display name for the knowledgebase

Example:

"Customer Support Documentation"

file
file
required

Document file to upload. Supported formats: PDF, Word (doc/docx), text (txt), Markdown (md), HTML, XML, RTF, EPUB, CSV

Response

Knowledgebase creation initiated

kb_id
string<uuid>
required

Knowledgebase unique identifier

vector_store_id
string
required

Vector store identifier for search

status
enum<string>
required

Processing status

Available options:
processing,
processed,
error
friendly_name
string
required

Display name

file_type
string

MIME type of uploaded file

supported_formats
string

List of supported file formats