Query Parameters
Sample Request
If the bot language isn’t included in the header, English is used as the default language for training. See the list of supported bot languages here.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| 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 |
| 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. |
curl -X POST 'https://{{host}}/api/public/bot/{{BotId}}/ml/train' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--header 'bot-language: de'
[
{
"message": "Training Queued.",
"Training_ID": "5dxxxxxxxxxxxxxxxxxxxxxx"
}
]
Was this page helpful?