Bot Export Status API
Back to API List
Gets the status of a Bot Export request and provides the download link after the export completes. Refer to Bot Export API to initiate an export.
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 | GET |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/export/status |
| Content Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | App Builder: Bot Export; Admin Console: Bot Definition > Bot Export |
| Parameter | Description | Required |
|---|---|---|
host | The environment URL. For example, https://platform.kore.ai. | Required |
BotID | Bot ID or Stream ID. Access it under General Settings on the App Builder. | Required |
curl --location 'https://{{host}}/api/public/bot/{{BotID}}/export/status' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--header 'content-type: application/json' \
--data '{
"exportType": "latest"
}'
| Parameter | Description | Required |
|---|---|---|
exportType | Bot type: latest or published. | Required |
{
"_id": "ber-xxxxx-xxx-xxx-xxx-xxxxx",
"botId": "st-xxxxx-xxx-xxx-xxx-xxxxx",
"createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx",
"exportType": "latest",
"requestType": "Botexport",
"status": "success",
"createdOn": "2018-12-05T07:18:40.028Z",
"__v": 0,
"downloadURL": "{{url}}",
"fileId": "{{file-id}}",
"store": {
"urlParams": "url-params"
},
"fileSize": "947"
}
Was this page helpful?