Skip to main content
PUT
Update a knowledge base

Authorizations

Authorization
string
header
required

JWT token from Clerk authentication.

Must be from a user with org:admin role.

Query Parameters

id
integer
required

The ID of the knowledge base to update

Example:

1

Body

application/json
name
string
required

Knowledge base name

Example:

"Updated Documentation"

description
string | null

Optional description

extractionModel
string | null

Optional extraction model

extractionSchema
object | null

Optional extraction schema

trigger
object

Trigger configuration that automatically runs an agent when new files are added. Set enabled: true with an agentId and prompt to activate.

Response

Knowledge base updated successfully

success
boolean
required
knowledgeBase
object
required