To get the status of the ML utterances import request made through Import ML Utterances API.
| Method | GET |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/mlimport/status/{{MLutteranceID}} |
| Content Type | application/json |
| Authorization |
|
| API Scope |
|
Path Parameters
| Parameter | Description | Mandate |
|---|---|---|
| host | The environment URL. For example, https://bots.kore.ai |
Required |
| BotID | The Stream ID of the bot to import the ML Utterances. | Required |
| MLutteranceID | The ID generated in the format Bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx when calling the ML Utterances Import API. | Required |
Sample Request
curl -X GET \ https://{{host}}/api/public/bot/{{BotID}}/mlimport/status/{{MLutteranceID}} \
-H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
-H 'content-type: application/json' \
Body Parameters
No Body Parameters are passed.
Sample Response
{
"_id": "bxx-7xxxxxxe-5xxb-5xx5-bxx5-88xxxxxxxxxx",
"status": "success",
"streamId": "sx-6exxxxxx-5xx1-5xx0-bxx8-8cxxxxxxxxxx",
"createdBy": "u-5dxxxxxx-bxx1-5xx0-axx8-2exxxxxxxxxx",
"requestType": "MLimport",
"statusLogs": [],
"createdOn": "2019-06-27T12:03:30.748Z",
"__v": 0,
"message": "File imported completed. 1 utterances copied successfully"
}