v1

latestOpenAPI 3.0.02026-07-268285163.6 KB
Knowledge Bases

Add/Update sources

Add new sources or update existing sources in a knowledge base

post/assistant_knowledges/{knowledge_id}/add/sources

Path parameters

knowledge_idstring required

ID of the knowledge base

Request body

Response

Sources successfully added/updated

messagestring
need_trainingboolean

Example response

{
  "message": "Sources updated successfully",
  "need_training": true
}