Upload knowledge base document
Upload a file (md, txt, csv, tsv, pdf, docx, xlsx — max 300KB). Text is extracted server-side and becomes the editable document content; the original binary is not retained. The document is indexed immediately.
Authentication
AuthorizationBearer
Supabase session JWT from a signed-in browser session, supplied as Authorization: Bearer <jwt>. This is what the web app sends. It shares the Authorization header with bearerApiKey; the server distinguishes them by the ela_ prefix on API keys.
Path parameters
knowledgeBaseId
Request
This endpoint expects an object.
orgSlug
file
name
Response
OK
OR

