REST API - Knowledge
Update Knowledge Base
Updates a knowledge base
PATCH
Update Knowledge Base
Knowledge bases are replaced by the Company Brain. Knowledge bases in use move into brains automatically, and these calls keep working on a moved knowledge base for one release. For new content, use collections.
Path Parameters
Request Body
Response
Returns the updated knowledge base object with the structure matching Get Knowledge Base.Example Request
Example Response
Notes
- All fields in the request body are optional
- Fields not provided in the request will retain their existing values
- Returns 404 if the knowledge base is not found
Body
application/json
Response
Successful Response
Represents a Knowledge Base item.
Attributes: id (str): KB unique identifier. name (str): KB name specified by the user. description (str): KB description specified by the user. type (KnowledgeBaseType): KB type, either managed or external. organization_id (str): Organization ID associated with the KB. total_documents (int): Total count of embedded documents. Defaults to 0.

