| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/mlimport |
| Content Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | App Builder: Utterances Import; Admin Console: Test > Utterances Import and Train |
Query Parameters
| Parameter | Description | Required |
|---|---|---|
host | The environment URL. For example, https://platform.kore.ai | Required |
BotId | Bot ID or Stream ID can be accessed under General Settings on the App Builder. | Required |
Sample Request
Body Parameters
| Parameter | Description | Required |
|---|---|---|
fileName | The full name of the ML Utterances file to be imported. | Required |
fileID | The ID of the imported file (provided by the cloud service where the file is uploaded). | Required |