Skip to main content
POST
Add sources to knowledge base

Notes

  • Adds additional sources to an existing knowledge base

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

knowledgeBaseId
string
required

Knowledge base ID to add sources to

Example:

"knowledge_base_abc123"

Body

multipart/form-data
knowledge_base_texts
string

JSON array of text sources

knowledge_base_urls
string

JSON array of URL strings

knowledge_base_files
file[]

File uploads (.txt, .pdf, .doc, .docx, .md, .csv, .json; max 50MB)

Response

Knowledge base sources added successfully

message
string
status
string
error
string
data
object