To initiate the ML training for a bot.
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/ml/train |
| Content Type | application/json |
| Authorization |
|
| API Scope |
|
Query Parameters
| Parameter | Description | Mandate |
|---|---|---|
| host | The environment URL. For example, https://bots.kore.ai |
Required |
| BotID | The Bot ID or Stream ID to be accessed under General Settings on the Bot Builder. | Required |
Sample Request
curl -X POST \
https://{{host}}/api/public/bot/{{BotId}}/ml/train \
-H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
Body Parameters
No Body Parameters are passed.
Sample Response
[
{
"message": "Training Queued.",
"Training_ID": "5dxxxxxxxxxxxxxxxxxxxxxx"
}
]