Knowledge Bases
Train knowledge base
Start the training process for a knowledge base to index all sources
post/assistant_knowledges/{knowledge_id}/train
Request
- Base URLhttps://apis.smartly.ai
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/smartly/apis/smartly-ai-apis/docs/assistant_knowledges/:knowledge_id/train/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
knowledge_idstring required
ID of the knowledge base to train
Request body
Response
Training started successfully
Example response
{
"message": "Training started successfully",
"training": true
}Changes
No recorded changes to this operation across all 1 revision of this API.