{"id":41138,"date":"2022-04-21T02:07:37","date_gmt":"2022-04-21T01:07:37","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41138"},"modified":"2022-04-21T02:07:39","modified_gmt":"2022-04-21T01:07:39","slug":"bot-export-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/bot-export-api\/?lang=ko","title":{"rendered":"\ubd07 \ub0b4\ubcf4\ub0b4\uae30 API"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>\ubd07 \uc815\uc758\uc640 \ubaa8\ub4e0 \uad00\ub828 \uad6c\uc131 \uc694\uc18c\ub97c \ub0b4\ubcf4\ub0b4\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc774 API\ub294 \ub0b4\ubcf4\ub0b4\uae30 \ud504\ub85c\uc138\uc2a4\ub9cc \uc2dc\uc791\ud569\ub2c8\ub2e4. <a href=\"\/?p=18087\">\ub0b4\ubcf4\ub0b4\uae30 \uc0c1\ud0dc API<\/a>\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub0b4\ubcf4\ub0b4\uae30 \uacfc\uc815\uc744 \ud655\uc778\ud558\uace0 \ub0b4\ubcf4\ub0b4\uae30\uac00 \uc644\ub8cc\ub41c \ud6c4 \ud30c\uc77c\uc744 \ub2e4\uc6b4\ub85c\ub4dc\ud560 \uc218 \uc788\ub294 \ub9c1\ud06c\ub97c \uac00\uc838\uc635\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0\ub294 <em>\ubd07 \uc815\uc758<\/em> \uc544\ub798\uc5d0 \uc788\ub294 <em>\ubd07 \ub0b4\ubcf4\ub0b4\uae30<\/em>\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><b>POST<\/b> <span style=\"font-weight: 400\"><code>https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/export<\/code><\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">host<\/span><\/td>\n<td><span style=\"font-weight: 400\">\ud658\uacbd URL, \uc608: <code>https:\/\/bots.kore.ai<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td>BotID<\/td>\n<td><span style=\"font-weight: 400\">\ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-2\">\ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>exportType<\/td>\n<td>\n<p>\ubd07 \uc720\ud615 &#8211;<\/p>\n<ul>\n<li>&#8216;<em>\ucd5c\uadfc<\/em>&#8216; \ub610\ub294<\/li>\n<li>&#8216;<em>\uac8c\uc2dc\ub428<\/em>\u2019<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>exportOptions (\uc120\ud0dd \uc0ac\ud56d)<\/td>\n<td>\n<p>\ubaa8\ub4e0 \ubd07 \uad6c\uc131 \uc694\uc18c\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \ub0b4\ubcf4\ub0b4\uc9d1\ub2c8\ub2e4. \ud544\uc694\ud55c \uacbd\uc6b0 \ub0b4\ubcf4\ub0b4\uae30\uc5d0 \ud3ec\ud568\ud560 \uad6c\uc131 \uc694\uc18c\ub97c \uc9c0\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>\"exportOptions\": {\r\n      \"tasks\": [\r\n             \"botTask\",\r\n             \"knowledgeGraph\"\r\n           ],\r\n      \"nlpData\": [\r\n             \"nlpSettings\",\r\n             \"utterances\",\r\n             \"standardResponses\"\r\n           ],\r\n      \"settings\": [\r\n             \"botSettings\",\r\n             \"botVariables\",\r\n             \"ivrSettings\"\r\n           ]\r\n   },<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>subTasks (\uc120\ud0dd \uc0ac\ud56d)<\/td>\n<td>\n<p>\ubd80\ubd84 \ub0b4\ubcf4\ub0b4\uae30\uc758 \uacbd\uc6b0 \ub0b4\ubcf4\ub0bc \uc791\uc5c5\uc744 \uc5b8\uae09\ud569\ub2c8\ub2e4.<\/p>\n<\/pr>\n<pre>    \"subTasks\": {\r\n        \"dialogs\": [\"&lt;dialog Name 1&gt;\",\"&lt;dialog Name 2&gt;\"],\r\n        \"alerts\": [\"&lt;alert name 1&gt;\",\"&lt;alert name 2&gt;\"],\r\n        \"actions\": [\"&lt;action name 1&gt;\",\"&lt;action name 2&gt;\"]\r\n    }\r\n<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>IncludeDependentTasks (\uc120\ud0dd \uc0ac\ud56d)<\/td>\n<td>\n<p>\ub0b4\ubcf4\ub0bc \uc885\uc18d \uc791\uc5c5\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4<\/p>\n<pre>\"IncludeDependentTasks\":<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>allTasks(\uc120\ud0dd \uc0ac\ud56d)<\/td>\n<td>\n<p>\ub0b4\ubcf4\ub0bc \ubaa8\ub4e0 \uc791\uc5c5\uc744 \ud3ec\ud568\ud558\ub824\uba74 <em>subTasks<\/em>\uac00 \uc788\ub294 \uacbd\uc6b0 \ubb34\uc2dc\ub429\ub2c8\ub2e4.<\/p>\n<pre>\"allTasks\":<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\ubd80\ubd84 \uac00\uc838\uc624\uae30 \ubc0f \uc885\uc18d \uc791\uc5c5\uc758 \uc120\ud0dd\uc801 \ub9e4\uac1c \ubcc0\uc218\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 <a href=\"https:\/\/multisite.korebots.com\/uncategorised-ko-2\/bot-management-2\/?lang=ko#Exporting_a_Bot\" target=\"_blank\" rel=\"noopener noreferrer\">\uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-3\">\uad8c\ud55c \ubd80\uc5ec<\/span><\/h3>\n<p>\ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4. <code>auth: {{JWT}}<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-4\">\ucf58\ud150\uce20 \uc720\ud615 \uc751\ub2f5<\/span><\/h3>\n<p><code>application\/json<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-5\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl -X POST \\\r\n  https:\/\/{{host}}\/api\/public\/bot\/{{BotID}\/export \\\r\n  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\\r\n  -H 'content-type: application\/json' \\\r\n  -d '{\r\n     \"exportType\": \"published\"\r\n     }'<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-6\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>{\r\n    \"status\": \"pending\",\r\n    \"streamId\": \"st-xxxxx-xxx-xxx-xxx-xxxxx\",\r\n    \"createdBy\": \"u-xxx-xxx-xxx-xxx-xxxxx\",\r\n    \"exportType\": \"published\",\r\n    \"requestType\": \"Botexport\",\r\n    \"_id\": \"ber-xxxxx-xxx-xxx-xxx-xxxxx\",\r\n    \"status\": \"pending\",\r\n    \"createdOn\": \"2018-12-05T07:18:40.028Z\",\r\n    \"__v\": 0\r\n}<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\ubd07 \uc815\uc758\uc640 \ubaa8\ub4e0 \uad00\ub828 \uad6c\uc131 \uc694\uc18c\ub97c \ub0b4\ubcf4\ub0b4\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc774 API\ub294 \ub0b4\ubcf4\ub0b4\uae30 \ud504\ub85c\uc138\uc2a4\ub9cc \uc2dc\uc791\ud569\ub2c8\ub2e4. \ub0b4\ubcf4\ub0b4\uae30 \uc0c1\ud0dc API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub0b4\ubcf4\ub0b4\uae30 \uacfc\uc815\uc744 \ud655\uc778\ud558\uace0 \ub0b4\ubcf4\ub0b4\uae30\uac00 \uc644\ub8cc\ub41c \ud6c4 \ud30c\uc77c\uc744 \ub2e4\uc6b4\ub85c\ub4dc\ud560 \uc218 \uc788\ub294 \ub9c1\ud06c\ub97c \uac00\uc838\uc635\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0\ub294 \ubd07 \uc815\uc758 \uc544\ub798\uc5d0 \uc788\ub294 \ubd07 \ub0b4\ubcf4\ub0b4\uae30\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. POST https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/export \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \uc124\uba85 host \ud658\uacbd URL,...","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-41138","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=41138"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41138\/revisions"}],"predecessor-version":[{"id":41139,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41138\/revisions\/41139"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}