Creates a knowledge base by providing a name, optional text snippets, URLs, and file attachments. Sources are processed in order: text, URLs, then files. Supported file types include PDF, TXT, HTML, Markdown, and DOCX. Maximum file size is 25 MB.
Documentation Index
Fetch the complete documentation index at: https://docs.sigmamind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate every request by passing your API key in the X-API-Key header. To get your key, go to Dashboard → API Keys and create or copy your Production API key.
Name of the new knowledge base. Names do not need to be unique.
Optional. Send as one form field whose value is a JSON array string. Example: knowledge_base_texts=["Hello",{"title":"Q","text":"A"}]. Plain strings become text sources; objects may use title and/or text.
Optional. Send as one form field whose value is a JSON array of URL strings (not native repeated fields). Example: knowledge_base_urls=["https://example.com/docs"]. Each entry must be a URL string.
Optional. Attach one or more files using the same field name repeated. Allowed file types: PDF, TXT, HTML, Markdown, DOCX. Max file size - 25 MB
Created.
A knowledge base and its sources.
Use this id in the URL when fetching, updating, or deleting this knowledge base.
1 - 64"kb_6sbr3tbMX757M0VD"
Knowledge base name
512"Support FAQs"
Ordered sources; each item has documentId, type, and content.
When the knowledge base was created.
"2026-05-06T11:15:02.073Z"
When the knowledge base or its sources were last changed.
"2026-05-06T11:15:02.073Z"