Skip to navigation

Delete knowledge base

View as Markdown
Soft delete a knowledge base and its documents, and remove its vectors. Fails with 409 when any agent still links the knowledge base.

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

Query parameters

orgSlugstringRequired

Response

OK
any
OR
any