Skip to navigation

Update knowledge base

View as Markdown
Update a knowledge base's name, description, or query prompt. The slug is immutable.

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
namestringOptional1-120 characters
descriptionstring or nullOptional
queryPromptstring or nullOptional

Response

OK
any
OR
any