REST API - Knowledge
Get Knowledge Base
Get knowledge base details by ID
GET
Get Knowledge Base Details
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
Response
Example Request
Example Response
Notes
- Returns 404 if the knowledge base is not found or doesn’t belong to your organization
- Use this endpoint to verify knowledge base existence before adding documents
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.

