REST API - Knowledge
Create Knowledge Base
Creates a new knowledge base
POST
Create 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.
Request Body
Response
Example Request
Example Response
Notes
- New knowledge bases start with zero documents
- Use the returned
idto add documents via the Add Documents endpoint
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.

