{"id":41183,"date":"2022-04-21T05:40:20","date_gmt":"2022-04-21T04:40:20","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41183"},"modified":"2022-04-21T05:40:39","modified_gmt":"2022-04-21T04:40:39","slug":"debug-logs-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/debug-logs-api\/?lang=ko","title":{"rendered":"\ub514\ubc84\uadf8 \ub85c\uadf8 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>\ud2b9\uc815 \ub300\ud654\uc758 \ub514\ubc84\uadf8 \ub85c\uadf8\ub97c \uac00\uc838\uc635\ub2c8\ub2e4(\ud604\uc7ac IVR \ucc44\ub110\uc5d0 \ub300\ud574\uc11c\ub9cc \uc9c0\uc6d0\ub428).<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 <em>\ub514\ubc84\uadf8 \ub85c\uadf8<\/em>\uc758 \ubd07 \ube4c\ub354 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><b>GET <\/b><code>https:\/\/{{host}}\/api\/{{version}\/{{BotID}}\/debuglogs?identity={{identity}}&amp;channelType={{channelType}}&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone={{timezone}}<\/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\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<tr>\n<td>host<\/td>\n<td>\ud658\uacbd URL, \uc608: <code>https:\/\/bots.kore.ai<\/code><\/td>\n<\/tr>\n<tr>\n<td>version<\/td>\n<td>API \ubc84\uc804\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4. \uc774 API\uc758 \ud604\uc7ac \ubc84\uc804\uc740 &quot;1.1&quot;\uc785\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>BotID<\/td>\n<td>\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.<\/td>\n<\/tr>\n<tr>\n<td>identity<\/td>\n<td>\ud638\ucd9c\uc5d0 \uc5f0\uacb0\ub41c \uace0\uc720 ID\uc785\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>channelType<\/td>\n<td>&nbsp;\ud604\uc7ac \uc9c0\uc6d0\ub418\ub294 \ucc44\ub110\uc740 &quot;<strong>ivrVoice<\/strong>&quot;<\/td>\n<\/tr>\n<tr>\n<td>minimumInfo<\/td>\n<td>\uc120\ud0dd \ud544\ub4dc\uc785\ub2c8\ub2e4. \uc694\uc57d\ub9cc \uac00\uc838\uc624\ub824\uba74 &quot;true&quot;\ub85c \uc124\uc815<\/td>\n<\/tr>\n<tr>\n<td>offset<\/td>\n<td>\ub85c\uadf8 \uac00\uc838\uc624\uae30\ub97c \uc2dc\uc791\ud560 \ud398\uc774\uc9c0 \ubc88\ud638\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4. \uc9c0\uc815\ud558\uc9c0 \uc54a\uc73c\uba74 \ub85c\uadf8 \ubaa9\ub85d\uc758 \uccab \ubc88\uc9f8 \ud398\uc774\uc9c0\uc778 0\ubd80\ud130 \uc2dc\uc791\ub429\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>limit<\/td>\n<td>\uac00\uc838\uc62c \ub808\ucf54\ub4dc \uc218\uc785\ub2c8\ub2e4. \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \ucd5c\ub300\ud55c\ub3c4\ub294 50\uc785\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>timezone<\/td>\n<td>\uc608: America\/New_York<\/td>\n<\/tr>\n<tr>\n<td>fromDate<\/td>\n<td>\ub85c\uadf8\uac00 \uc694\uccad\ub41c \ub0a0\uc9dc, \uc720\ud6a8\ud55c \ud615\uc2dd &#8211; yyyy-mm-dd \ub610\ub294 \uc720\ud6a8\ud55c \ud0c0\uc784\uc2a4\ud0ec\ud504<\/td>\n<\/tr>\n<tr>\n<td>toDate<\/td>\n<td>\ub85c\uadf8\uac00 \uc694\uccad\ub41c \ub0a0\uc9dc, \uc720\ud6a8\ud55c \ud615\uc2dd &#8211; yyyy-mm-dd \ub610\ub294 \uc720\ud6a8\ud55c \ud0c0\uc784\uc2a4\ud0ec\ud504<\/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\">\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-3\">\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-4\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl -X GET \\\r\n   https:\/\/{{host}}\/api\/1.1\/{{BotID}}\/debuglogs?identity={{id}}&amp;channelType=ivrVoice&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone=America\/New_York' \\  \r\n  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\<\/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-5\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>[\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:06:17.258Z\",\r\n        \"nomatch_count\": \"0\",\r\n        \"noinput_count\": \"1\",\r\n        \"debugTitle\": \"Bing\",\r\n        \"debugLevel\": \"Info\",\r\n        \"debugMessage\": \"intent node initiated\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:06:17.258Z\",\r\n        \"debugTitle\": \"Bing\",\r\n        \"debugLevel\": \"Info\",\r\n        \"debugMessage\": \"intent node processing is completed\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:06:17.258Z\",\r\n        \"debugTitle\": \"Nam\",\r\n        \"debugLevel\": \"Info\",\r\n        \"debugMessage\": \"entity node initiated\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:06:17.258Z\",\r\n        \"debugTitle\": \"Nam\",\r\n        \"debugLevel\": \"Info\",\r\n        \"debugMessage\": \"Waiting for user input\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"debugTitle\": \"Nam\",\r\n        \"debugMessage\": \"User prompt parsing\",\r\n        \"debugLevel\": \"info\",\r\n        \"timestamp\": \"2018-11-22T13:06:17.304Z\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"debugTitle\": \"Nam\",\r\n        \"debugMessage\": \"User prompt parsing successful\",\r\n        \"debugLevel\": \"info\",\r\n        \"debugDetail\": \"\\\"Let me know your name\\\\n\\\"\",\r\n        \"timestamp\": \"2018-11-22T13:06:17.325Z\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:06:31.464Z\",\r\n        \"nomatch_count\": \"2\",\r\n        \"noinput_count\": \"0\",\r\n        \"debugTitle\": \"Nam\",\r\n        \"debugLevel\": \"Warning\",\r\n        \"debugMessage\": \"executeNode has invoked due to MAX_NO_MATCH event\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    },\r\n    {\r\n        \"timestamp\": \"2018-11-22T13:07:54.395Z\",\r\n        \"debugTitle\": \"Company: Reached end of dialog\",\r\n        \"debugLevel\": \"Info\",\r\n        \"metaInfo\": {\r\n            \"channel\": \"ivrVoice\",\r\n            \"identity\": \"Nov22PilotEnv1\"\r\n        }\r\n    }\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":"\ud2b9\uc815 \ub300\ud654\uc758 \ub514\ubc84\uadf8 \ub85c\uadf8\ub97c \uac00\uc838\uc635\ub2c8\ub2e4(\ud604\uc7ac IVR \ucc44\ub110\uc5d0 \ub300\ud574\uc11c\ub9cc \uc9c0\uc6d0\ub428). \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \ub514\ubc84\uadf8 \ub85c\uadf8\uc758 \ubd07 \ube4c\ub354 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. GET https:\/\/{{host}}\/api\/{{version}\/{{BotID}}\/debuglogs?identity={{identity}}&amp;channelType={{channelType}}&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone={{timezone}} \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \uc124\uba85 host \ud658\uacbd URL, \uc608: https:\/\/bots.kore.ai version API \ubc84\uc804\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4. \uc774 API\uc758 \ud604\uc7ac \ubc84\uc804\uc740 &quot;1.1&quot;\uc785\ub2c8\ub2e4. BotID \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...","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-41183","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\/41183","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=41183"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41183\/revisions"}],"predecessor-version":[{"id":41184,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41183\/revisions\/41184"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}