Create knowledge base
POST /knowledge-bases
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
ID of the team that will own this knowledge base
Human-readable name for the knowledge base (1-255 characters)
Optional configuration settings (uses defaults if not provided)
object
List of embedding models to generate embeddings for (default: [“BAAI/bge-small-en-v1.5”])
Primary embedding model used for queries when model is not specified (default: “BAAI/bge-small-en-v1.5”)
Token count per chunk (default: 512)
Token overlap between chunks (default: 50)
NLP library for concept extraction (default: spacy)
Responses
Section titled “ Responses ”Knowledge base created successfully
object
Unique identifier for the knowledge base (nanoid format)
ID of the team that owns this knowledge base
Human-readable name for the knowledge base
Configuration settings
object
List of embedding models configured for this knowledge base
Primary embedding model used for queries when model is not specified
Token count per chunk
Token overlap between chunks
NLP library for concept extraction
Whether communities need to be rebuilt due to content changes
ISO 8601 timestamp when communities were last built
ISO 8601 timestamp when the knowledge base was created
ISO 8601 timestamp when the knowledge base was last modified
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions
object
Conflict - Resource already exists or operation conflicts with current state