Skip to navigation

Create knowledge base document

View as Markdown

Create a document from inline content (authored in the app, no file upload) and index it

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

knowledgeBaseIdstringRequired

Request

This endpoint expects an object.
orgSlugstringRequired
namestringRequired1-200 characters
contentstringRequired1-307200 characters

Response

OK
any
OR
any