Skip to navigation

Update knowledge base document

View as Markdown

Update a document’s name or content. Content changes re-index the document.

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
documentIdstringRequired

Request

This endpoint expects an object.
orgSlugstringRequired
namestringOptional1-200 characters
contentstringOptional1-307200 characters

Response

OK
any
OR
any