curl --location 'https://{host}/api/public/bot/{BotID}/export' \
--header 'auth: {YOUR_JWT_ACCESS_TOKEN}' \
--header 'content-type: application/json' \
--data '{
"exportType": "published",
"exportOptions": {
"settings": [
"botSettings",
"botVariables",
"ivrSettings",
"genAIandLLMSettings"
],
"tasks": [
"botTask",
"knowledgeGraph",
"smallTalk"
],
"nlpData": [
"utterances",
"patterns",
"traits",
"rules",
"concepts",
"synonyms",
"standardResponses",
"nlpSettings"
],
"AgentAI": [
"rules",
"playbooks",
"widgetSettings",
"layoutSettings"
]
},
"subTasks": {
"alerts": [],
"actions": [],
"dialogs": [],
"experienceFlows": []
},
"allTasks": true,
"customDashboards": true,
"IncludeDependentTasks": true
}'