Gets the download link of the ML Utterances export copy.
To use this API, app needs the Bot Builder API scope of Utterances Export.
OR the Admin API Scope of Utterances Export under Test and Train.
GET https://{{host}}/api/public/bot/{{BotID}}/mlexport/status
Path Parameters
Parameter | Required/Optional | Description |
---|---|---|
host | Required | Environment URL, for example, https://bots.kore.ai |
BotID | Required | Bot ID or Stream ID. You can access it from the General Settings page of the bot. |
Authorization
Invoke the API with JWT in the header with the following syntax:
auth: {{JWT}}
Response Content Type
application/json
Sample Request
curl -X GET \ https://{{host}}/api/public/bot/{{bot ID}}/mlexport/status \ -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \ -H 'content-type: application/json' \
Sample Response
{ "_id": "ds-aadcadee-befe-559c-b15f-31b87b0d8e63", "status": "SUCCESS", "percentageComplete": 100, "streamId": "st-6ecb5ba2-5e31-5a40-b918-8cbee40f3fdb", "createdBy": "u-5dad2ccd-b271-5c00-a338-2e6e25e1ec91", "jobType": "ML_UTTERANCE", "action": "EXPORT", "fileType": "CSV", "statusLogs": [], "lMod": "2019-06-27T06:49:15.726Z", "createdOn": "2019-06-27T06:49:15.572Z", "__v": 0, "downloadUrl": "" }