Update a knowledge base
Knowledge Bases API
Update a knowledge base
Update an existing knowledge base by ID.
The embedding model cannot be changed after creation — only the name, description, extraction settings, and trigger can be updated.
PUT
Update a knowledge base
Authorizations
JWT token from Clerk authentication.
Must be from a user with org:admin role.
Query Parameters
The ID of the knowledge base to update
Example:
1
Body
application/json
Knowledge base name
Example:
"Updated Documentation"
Optional description
Optional extraction model
Optional extraction schema
Trigger configuration that automatically runs an agent when new files are added.
Set enabled: true with an agentId and prompt to activate.
