ML Utterances Export API
Back to API List
Exports the ML utterances of a bot by creating a request ID, which can then be used to retrieve the download link via the ML Utterances Export Status API.
Was this page helpful?
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}}/mlexport |
| Content Type | application/json |
| Authorization | auth: {{JWT}} — See How to generate the JWT Token. |
| API Scope | App Builder: Utterances Export; Admin Console: Test > Utterances Export and Train |
| 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/{{bot_id}}/mlexport?state=configured&=&type=csv' \
-H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
-H 'content-type: application/json'
{
"status": "IN_PROGRESS",
"percentageComplete": 0,
"streamId": "st-22184e1f-e116-5ed4-8741-7aec3be466d7",
"jobType": "ML_UTTERANCE",
"action": "EXPORT",
"countOfDockStatuses": 1,
"createdBy": "u-8214dc3a-c749-5d23-b8ad-2a21bfa396ca",
"fileType": "CSV",
"statusLogs": [],
"_id": "ds-db32ec69-7f80-5873-890a-576fe585965f",
"lMod": "2023-07-26T13:15:04.000Z",
"createdOn": "2023-07-26T13:15:04.983Z",
"requestedTime": "2023-07-26T13:15:04.984Z",
"__v": 0
}
Was this page helpful?