> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# ML Utterances Export Status API

<Badge icon="arrow-left" color="gray">[Back to API List](/ai-for-service/apis/automation/api-list)</Badge>

Retrieves the download link for an ML utterances export.

| **Field**         | **Value**                                                                                                                          |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| **Method**        | GET                                                                                                                                |
| **Endpoint**      | `https://{{host}}/api/public/bot/{{BotID}}/mlexport/status`                                                                        |
| **Content Type**  | `application/json`                                                                                                                 |
| **Authorization** | `auth: {{JWT}}` — See [How to generate the JWT Token](/ai-for-service/apis/automation/api-introduction/#generating-the-jwt-token). |
| **API Scope**     | App Builder: Utterances Export; Admin Console: Test > Utterances Export and Train                                                  |

## Path Parameters

| **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. |

## Sample Request

```json theme={null}
curl -X GET \
  'https://{{host}}/api/public/bot/{{bot ID}}/mlexport/status' \
  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
  -H 'content-type: application/json' \
```

## Body Parameters

No body parameters are passed.

## Sample Response

```json theme={null}
{
    "_id": "dx-aaxxxxxx-bxxe-5xxc-bxxf-31xxxxxxxxxx",
    "status": "SUCCESS",
    "percentageComplete": 100,
    "streamId": "sx-6xxxxxx2-5xx1-5xx0-b9xx-8cxxxxxxxxxx",
    "createdBy": "u-5dxxxxxx-bxx1-5xx0-axx8-2exxxxxxxxxx",
    "jobType": "ML_UTTERANCE",
    "action": "EXPORT",
    "countOfDockStatuses": 1,
    "fileType": "CSV",
    "statusLogs": [],
    "lMod": "2019-06-27T06:49:15.726Z",
    "createdOn": "2019-06-27T06:49:15.572Z",
    "requestedTime": "2023-07-25T15:23:36.912Z",
    "__v": 0,
    "downloadUrl": ""
}
```
