Back to API List To export the bot definition and all associated components.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.
This API only initiates the export process. Use the Export Status API to view the export progress and obtain a download link once the export completes.
| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/{{BotID}}/export |
| 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 |
Query Parameters
| 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 |
Sample Request
Body Parameters
| Parameter | Description | Required |
|---|---|---|
exportType | Bot type: latest or published. | Required |
exportOptions | All bot components are exported by default. Specify components to include if a partial export is needed. Supports tasks, nlpData, AgentAI, and settings sub-keys. | Optional |
subTasks | For partial export, list the specific tasks to include: dialogs, alerts, actions. | Optional |
IncludeDependentTasks | Set to true to include dependent tasks in the export. | Optional |
customDashboards | Set to true to include custom dashboards in the export. | Optional |
allTasks | Set to true to include all tasks. Ignored if subTasks is present. | Optional |