1. Home
  2. Kore.ai Conversational Platform
  3. Using Kore.ai APIs
  4. ML Utterances Import API

ML Utterances Import API

Imports ML Utterances into a bot

POST https://{{host}}/api/public/bot/{{bot_id}}/import

Query Parameters

Parameter Required/Optional Description
host Required The bot environment URL, for example, https://bots.kore.ai
bot_id Required Bot ID or Stream ID of the bot to import into. You can access it from the General Settings page of the bot.

Body Parameters

Parameter Required/Optional Description
fileName Required Full name of the ML Utterances file to import
fileID Required The ID of the import file (provided by the cloud service where the file is uploaded).


Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response content type


Sample Request

curl -X POST \

https://{{host}}/api/public/bot/{{bot ID}}/mlimport \


-H 'content-type: application/json' \

-d '{


"fileId": "5beed4fd0b9a4b740c09dca2"

Was this article helpful to you? Yes No