v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Knowledge Base

Create a new knowledge base

Create a new knowledge base for organizing and managing documents within your organization.

Overview:

A knowledge base is a container for organizing related documents, files, and content. It provides a central location for teams to collaborate on shared information.

Features:

  • Hierarchical folder structure support
  • Role-based access control (OWNER, WRITER, READER)
  • Full-text search across all records
  • Integration with external connectors (Google Drive, OneDrive, etc.)
  • Automatic content indexing for AI-powered search

Naming Rules:

  • Name must be 1-255 characters
  • Special characters and HTML tags are sanitized
  • Names don't need to be unique within organization

Creator Permissions:

The user creating the KB automatically becomes the OWNER with full administrative rights.

post/knowledgeBase

Request body

kbNamestring required

Name of the knowledge base

Example request

{
  "kbName": "Product Documentation"
}

Response

Knowledge base created successfully

idstring required

Knowledge base ID

namestring required

Knowledge base name

createdAtTimestampinteger required

Creation timestamp in milliseconds

updatedAtTimestampinteger required

Last update timestamp in milliseconds

userRole'OWNER' | 'WRITER' | 'READER' required

User's role in this knowledge base