Skip to main content
This endpoint creates a new knowledgebase. After creation, you can add documents to it using the create document endpoint.

Request Body

name string required The name of the knowledgebase (max 255 characters) description string Optional description of the knowledgebase (max 255 characters)

Response

message string Success message data object The created knowledgebase object data properties id integer The unique identifier of the knowledgebase name string The name of the knowledgebase description string Description of the knowledgebase status string Current status (will be empty for new knowledgebases) status_label string Human-readable status label created_at string ISO 8601 timestamp of creation updated_at string ISO 8601 timestamp of last update
201 Created
422 Validation Error
500 Error

Next Steps

After creating a knowledgebase, you’ll want to:
  1. Add documents - Use the create document endpoint to add content
  2. Wait for processing - Documents are processed asynchronously
  3. Attach to assistant - Use the update assistant endpoint to attach the knowledgebase