{"id":39452,"date":"2022-04-01T09:44:16","date_gmt":"2022-04-01T08:44:16","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=39452"},"modified":"2022-04-07T04:59:15","modified_gmt":"2022-04-07T03:59:15","slug":"bot-publish-status-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/bot-publish-status-api\/?lang=ja","title":{"rendered":"Bot Publish Status &#8211; 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><span style=\"font-weight: 400\">\u9032\u884c\u4e2d\u306e\u30dc\u30c3\u30c8\u306e\u516c\u958b\u30b9\u30c6\u30fc\u30bf\u30b9\u3001\u307e\u305f\u306f\u6700\u5f8c\u306b\u5b8c\u4e86\u3057\u305f\u30dc\u30c3\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 <a href=\"\/docs\/bots\/api-guide\/publish-bot-api\/\">\u30dc\u30c3\u30c8API\u306e\u516c\u958b<\/a>\u306e\u958b\u59cb\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p class=\"note\">\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30a2\u30d7\u30ea\u306f<em>\u30dc\u30c3\u30c8\u516c\u958b<\/em>\u306e\u4e0b\u306b\u3042\u308b <em>\u516c\u958b\u30b9\u30c6\u30fc\u30bf\u30b9<\/em>\u306e\u7ba1\u7406\u8005API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><b>GET<\/b><code>https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/publish\/status<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/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\">\u8a8d\u8a3c<\/span><\/h3>\n<p>\u30d8\u30c3\u30c0\u30fc\u5185\u306eJWT\u3092\u542b\u3080API\u3092\u3001\u4ee5\u4e0b\u306e\u69cb\u6587\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<br \/>\n<code>auth: {{JWT}}<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/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\">\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\">host<\/span><\/td>\n<td><span style=\"font-weight: 400\">\u74b0\u5883URL\u3001\u4f8b\uff1a<code>https:\/\/bots.kore.ai<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td>BotID<\/td>\n<td><span style=\"font-weight: 400\">\u30dc\u30c3\u30c8ID\u307e\u305f\u306f\u30b9\u30c8\u30ea\u30fc\u30e0ID\u3002\u30dc\u30c3\u30c8\u306e\u300c\u4e00\u822c\u8a2d\u5b9a\u300d\u30da\u30fc\u30b8\u304b\u3089\u30a2\u30af\u30bb\u30b9\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_medium\"><\/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\">\u5fdc\u7b54\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_medium\"><\/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\">\u30b5\u30f3\u30d7\u30eb\u306e\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<pre>curl -X GET \\\r\n  https:\/\/{{host}}\/api\/1.1\/public\/bot\/{{BotID}}\/publish\/status\/ \\\r\n  -H 'Auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\\r\n<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/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\u306e\u30ec\u30b9\u30dd\u30f3\u30b9<\/span><\/h3>\n<pre>{\r\n    \"_id\": \"ber-xxxxx-xxx-xxx-xxx-xxxxx\",\r\n    \"jobType\": \"PUBLISH_BOT\",\r\n    \"streamId\": \"st-xxxxx-xxx-xxx-xxx-xxxxx\",\r\n    \"__v\": 0,\r\n    \"action\": \"RUN\",\r\n    \"createdBy\": \"u-xxxxx-xxx-xxx-xxx-xxxxx\",\r\n    \"percentageComplete\": 100,\r\n    \"requestedTime\": \"2021-12-01T09:19:04.483Z\",\r\n    \"status\": \"successful\",      \r\n    \"lastModifiedOn\": \"2021-12-01T09:19:05.808Z\",\r\n    \"initiatedOn\": \"2021-12-01T09:19:04.550Z\",\r\n    \"statusSummary\": [\r\n       {\r\n         \"resourceId\": \"SETTINGS\",\r\n         \"resourceType\": \"SETTINGS\",\r\n         \"name\": \"Settings\",\r\n         \"modules\": [\r\n             \"general\",\r\n             \"bot_variables\",\r\n             \"pii\",\r\n             \"ivr\",\r\n             \"hold_resume\",\r\n             \"custom_script\",\r\n             \"advanced\"\r\n           ],\r\n      \"status\": \"SUCCESS\"\r\n    },\r\n    {\r\n      \"resourceId\": \"NL\",\r\n      \"resourceType\": \"NL\",\r\n      \"name\": \"Natural Language\",\r\n      \"modules\": [\r\n           \"nl_model\",\r\n           \"settings\"\r\n           ],\r\n        \"status\": \"SUCCESS\"\r\n    }\r\n  ]\r\n}\r\n<\/pre>\n<p><strong>\u30e1\u30e2<\/strong>\uff1a&#8217;status&#8217;\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u306f\u3001\u300cSUCCESSFUL\u300d\u300cFAILED\u300d\u307e\u305f\u306f\u300cINPROGRESS\u300d\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\u9032\u884c\u4e2d\u306e\u30dc\u30c3\u30c8\u306e\u516c\u958b\u30b9\u30c6\u30fc\u30bf\u30b9\u3001\u307e\u305f\u306f\u6700\u5f8c\u306b\u5b8c\u4e86\u3057\u305f\u30dc\u30c3\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 \u30dc\u30c3\u30c8API\u306e\u516c\u958b\u306e\u958b\u59cb\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 \u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30a2\u30d7\u30ea\u306f\u30dc\u30c3\u30c8\u516c\u958b\u306e\u4e0b\u306b\u3042\u308b \u516c\u958b\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u7ba1\u7406\u8005API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002 GEThttps:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/publish\/status \u8a8d\u8a3c \u30d8\u30c3\u30c0\u30fc\u5185\u306eJWT\u3092\u542b\u3080API\u3092\u3001\u4ee5\u4e0b\u306e\u69cb\u6587\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 auth: {{JWT}} \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e host \u74b0\u5883URL\u3001\u4f8b\uff1ahttps:\/\/bots.kore.ai BotID \u30dc\u30c3\u30c8ID\u307e\u305f\u306f\u30b9\u30c8\u30ea\u30fc\u30e0ID\u3002\u30dc\u30c3\u30c8\u306e\u300c\u4e00\u822c\u8a2d\u5b9a\u300d\u30da\u30fc\u30b8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002 \u5fdc\u7b54\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7 application\/json \u30b5\u30f3\u30d7\u30eb\u306e\u30ea\u30af\u30a8\u30b9\u30c8 curl -X GET \\ https:\/\/{{host}}\/api\/1.1\/public\/bot\/{{BotID}}\/publish\/status\/ \\ -H 'Auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\ \u30b5\u30f3\u30d7\u30eb\u306e\u30ec\u30b9\u30dd\u30f3\u30b9 { \"_id\": \"ber-xxxxx-xxx-xxx-xxx-xxxxx\", \"jobType\": \"PUBLISH_BOT\", \"streamId\": \"st-xxxxx-xxx-xxx-xxx-xxxxx\", \"__v\": 0, \"action\": \"RUN\", \"createdBy\": \"u-xxxxx-xxx-xxx-xxx-xxxxx\", \"percentageComplete\": 100, \"requestedTime\": \"2021-12-01T09:19:04.483Z\", \"status\": \"successful\", \"lastModifiedOn\": \"2021-12-01T09:19:05.808Z\", \"initiatedOn\": \"2021-12-01T09:19:04.550Z\", \"statusSummary\": [...","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-39452","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\/39452","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=39452"}],"version-history":[{"count":3,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/39452\/revisions"}],"predecessor-version":[{"id":39982,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/39452\/revisions\/39982"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=39452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=39452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=39452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}