| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/ml/train |
| Content Type | application/json |
| Authorization | auth: {{JWT}} — See How to generate the JWT Token. |
| API Scope | App Builder: Train ML; Admin Console: Test and Train > Train ML |
Query Parameters
| Parameter | Required/Optional | Description |
|---|---|---|
host | Required | The environment URL. For example, https://platform.kore.ai |
BotID | Required | Bot ID or Stream ID. Accessible under General Settings on the App Builder. |
Sample Request
If the bot language is not included in the header, English is used as the default language for training. See the list of supported bot languages here.