Skip to navigation

Create knowledge base

View as Markdown
Create a new knowledge base. The slug is derived from the name when omitted and is immutable after creation.

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.

Request

This endpoint expects an object.
orgSlugstringRequired
namestringRequired1-120 characters
slugstringOptionalformat: "^[a-z0-9]+(?:-[a-z0-9]+)*$"
descriptionstringOptional
queryPromptstringOptional

Response

OK
any
OR
any