{"id":29281,"date":"2021-08-25T05:50:34","date_gmt":"2021-08-25T04:50:34","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-1\/?p=29281"},"modified":"2021-08-25T05:51:12","modified_gmt":"2021-08-25T04:51:12","slug":"bot-export-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-1\/docs\/bots\/api-guide\/bot-export-api\/?lang=ja","title":{"rendered":"\u30dc\u30c3\u30c8\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8API"},"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>\u4f7f\u7528\u6e08\u307f\u30dc\u30c3\u30c8\u5b9a\u7fa9\u304a\u3088\u3073\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306eAPI\u306f\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u51e6\u7406\u3092\u958b\u59cb\u3059\u308b\u3060\u3051\u3067\u3059\u3002<a href=\"\/v8-1\/docs\/bots\/api-guide\/bot-export-status-api\/?lang=ja\">\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9API<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306e\u9032\u6357\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306e\u30ea\u30f3\u30af\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p class=\"note\">\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [<em>\u30dc\u30c3\u30c8\u5b9a\u7fa9<\/em>] \u306e [<em>\u30dc\u30c3\u30c8\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/em>] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><b>\u30dd\u30b9\u30c8<\/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\">\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">\u30db\u30b9\u30c8<\/span><\/td>\n<td><span style=\"font-weight: 400\">\u74b0\u5883URL\uff08\u4f8b\uff1a <code>https:\/\/bots.kore.ai<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td>BotID\uff09<\/td>\n<td><span style=\"font-weight: 400\">\u30dc\u30c3\u30c8ID\u307e\u305f\u306f\u30b9\u30c8\u30ea\u30fc\u30e0ID\u3002\u30dc\u30c3\u30c8\u306e [\u4e00\u822c\u8a2d\u5b9a] \u30da\u30fc\u30b8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/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\">\u672c\u6587\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>exportType<\/td>\n<td>\u30dc\u30c3\u30c8\u30bf\u30a4\u30d7 &#8211; <\/p>\n<ul>\n<li>&apos;<em>latest<\/em>&apos; \u307e\u305f\u306f<\/li>\n<li>&apos;<em>published<\/em>&apos;<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>exportOptions\uff08\u4efb\u610f\uff09<\/td>\n<td>\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306b\u542b\u307e\u308c\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>&quot;exportOptions&quot;: { &quot;tasks&quot;: [ &quot;botTask&quot;, &quot;knowledgeGraph&quot; ], &quot;nlpData&quot;: [ &quot;nlpSettings&quot;, &quot;utterances&quot;, &quot;standardResponses&quot; ], &quot;settings&quot;: [ &quot;botSettings&quot;, &quot;botVariables&quot;, &quot;ivrSettings&quot; ] },<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>subTasks\uff08\u4efb\u610f\uff09<\/td>\n<td>\u90e8\u5206\u7684\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u306f\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u30bf\u30b9\u30af\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>&quot;subTasks&quot;: { &quot;dialogs&quot;: [&quot;&lt;dialog Name 1&gt;&quot;,&quot;&lt;dialog Name 2&gt;&quot;], &quot;alerts&quot;: [&quot;&lt;alert name 1&gt;&quot;,&quot;&lt;alert name 2&gt;&quot;], &quot;actions&quot;: [&quot;&lt;action name 1&gt;&quot;,&quot;&lt;action name 2&gt;&quot;] }<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>IncludeDependentTasks\uff08\u4efb\u610f\uff09<\/td>\n<td>\u4f9d\u5b58\u30bf\u30b9\u30af\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306b\u542b\u3081\u307e\u3059<\/p>\n<pre>&quot;IncludeDependentTasks&quot;:<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>allTasks\uff08\u4efb\u610f\uff09<\/td>\n<td>\u3059\u3079\u3066\u306e\u30bf\u30b9\u30af\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306b\u542b\u3081\u308b\u305f\u3081\u3001<em>subTasks<\/em>\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u7121\u8996\u3055\u308c\u307e\u3059<\/p>\n<pre>&quot;allTasks&quot;:<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u90e8\u5206\u30a4\u30f3\u30dd\u30fc\u30c8\u3068\u4f9d\u5b58\u30bf\u30b9\u30af\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/multisite.korebots.com\/uncategorised-ja\/bot-management-2\/?lang=ja#Exporting_a_Bot\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044<\/a>\u3002<\/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\">\u8a8d\u8a3c<\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001JWT\u3092\u30d8\u30c3\u30c0\u30fc\u306b\u542b\u3080API\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 <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\">\u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7<\/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\">\u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<pre>curl -X POST \\ https:\/\/{{host}}\/api\/public\/bot\/{{BotID}\/export \\ -H &apos;auth: {{<em>YOUR_JWT_ACCESS_TOKEN}}<\/em>&apos; \\ -H &apos;content-type: application\/json&apos; \\ -d &apos;{ &quot;exportType&quot;: &quot;published&quot; }&apos;<\/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\">\u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54<\/span><\/h3>\n<pre>{ &quot;status&quot;: &quot;pending&quot;, &quot;streamId&quot;: &quot;st-xxxxx-xxx-xxx-xxx-xxxxx&quot;, &quot;createdBy&quot;: &quot;u-xxx-xxx-xxx-xxx-xxxxx&quot;, &quot;exportType&quot;: &quot;published&quot;, &quot;requestType&quot;: &quot;Botexport&quot;, &quot;_id&quot;: &quot;ber-xxxxx-xxx-xxx-xxx-xxxxx&quot;, &quot;status&quot;: &quot;pending&quot;, &quot;createdOn&quot;: &quot;2018-12-05T07:18:40.028Z&quot;, &quot;__v&quot;: 0 }<\/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":"\u4f7f\u7528\u6e08\u307f\u30dc\u30c3\u30c8\u5b9a\u7fa9\u304a\u3088\u3073\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306eAPI\u306f\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u51e6\u7406\u3092\u958b\u59cb\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9API\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306e\u9032\u6357\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306e\u30ea\u30f3\u30af\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [\u30dc\u30c3\u30c8\u5b9a\u7fa9] \u306e [\u30dc\u30c3\u30c8\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002 \u30dd\u30b9\u30c8 https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/export \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e \u30db\u30b9\u30c8 \u74b0\u5883URL\uff08\u4f8b\uff1a https:\/\/bots.kore.ai BotID\uff09 \u30dc\u30c3\u30c8ID\u307e\u305f\u306f\u30b9\u30c8\u30ea\u30fc\u30e0ID\u3002\u30dc\u30c3\u30c8\u306e [\u4e00\u822c\u8a2d\u5b9a] \u30da\u30fc\u30b8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u672c\u6587\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e exportType \u30dc\u30c3\u30c8\u30bf\u30a4\u30d7 - &apos;latest&apos; \u307e\u305f\u306f &apos;published&apos; exportOptions\uff08\u4efb\u610f\uff09 \u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306b\u542b\u307e\u308c\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 &quot;exportOptions&quot;: { &quot;tasks&quot;: [ &quot;botTask&quot;, &quot;knowledgeGraph&quot; ], &quot;nlpData&quot;: [ &quot;nlpSettings&quot;, &quot;utterances&quot;, &quot;standardResponses&quot; ], &quot;settings&quot;: [ &quot;botSettings&quot;, &quot;botVariables&quot;, &quot;ivrSettings&quot; ] }, subTasks\uff08\u4efb\u610f\uff09 \u90e8\u5206\u7684\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u306f\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u30bf\u30b9\u30af\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 &quot;subTasks&quot;: { &quot;dialogs&quot;: [&quot;&lt;dialog...","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-29281","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/comments?post=29281"}],"version-history":[{"count":2,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29281\/revisions"}],"predecessor-version":[{"id":29283,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29281\/revisions\/29283"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/media?parent=29281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/categories?post=29281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/tags?post=29281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}