Gets the status of Bot Export request and also provides the download link of the bot export copy after the export is completed. Refer here for initiating Bot Export API.
Method | GET |
Endpoint |
|
Content Type | application/json |
Authorization |
|
API Scope |
|
Query Parameters
Parameter | Description | Mandate |
---|---|---|
host | The environment URL. For example,https://bots.kore.ai |
Required |
BotID | Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. | Required |
Sample Request
curl -X GET \
https://{{host}}/api/public/bot/{{BotID}}/export/status \
-H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
Body Parameters
No body parameters are passed.
Sample Response
{ "_id": "ber-xxxxx-xxx-xxx-xxx-xxxxx", "botId": "st-xxxxx-xxx-xxx-xxx-xxxxx", "createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx", "exportType": "published", "requestType": "Botexport", "status": "success", "createdOn": "2018-12-05T07:18:40.028Z", "__v": 0, "downloadURL": "{{url}}", "fileId": "{{file-id}", "store": { "urlParams": "url-params" }, "fileSize": "947" }