{"id":29431,"date":"2021-08-25T10:11:47","date_gmt":"2021-08-25T09:11:47","guid":{"rendered":"https:\/\/developer.kore.ai\/v8-1\/?p=29431"},"modified":"2021-08-25T10:12:08","modified_gmt":"2021-08-25T09:12:08","slug":"debug-logs-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-1\/docs\/bots\/api-guide\/debug-logs-api\/?lang=ja","title":{"rendered":"\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0API"},"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>\u7279\u5b9a\u306e\u4f1a\u8a71\u306e\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\uff08\u73fe\u5728\u306fIVR\u30c1\u30e3\u30cd\u30eb\u306e\u307f\u30b5\u30dd\u30fc\u30c8\uff09\u3002<\/p>\n<p class=\"note\">\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [<em>\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0<\/em>] \u306e [\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u306eAPI\u30b9\u30b3\u30fc\u30d7] \u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/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\">\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>\u30db\u30b9\u30c8<\/td>\n<td>\u74b0\u5883URL\uff08\u4f8b\uff09 <code>https:\/\/bots.kore.ai<\/code><\/td>\n<\/tr>\n<tr>\n<td>BotID<\/td>\n<td>\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<\/td>\n<\/tr>\n<tr>\n<td>ID<\/td>\n<td>\u547c\u3073\u51fa\u3057\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u4e00\u610f\u306eID\u3002<\/td>\n<\/tr>\n<tr>\n<td>channelType<\/td>\n<td>&nbsp;&quot;<strong>ivrVoice<\/strong>&quot; \u73fe\u5728\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c1\u30e3\u30cd\u30eb<\/td>\n<\/tr>\n<tr>\n<td>minimumInfo<\/td>\n<td>\u4efb\u610f\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3059\u3002\u30b5\u30de\u30ea\u306e\u307f\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f&quot;true&quot;\u3092\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>offset<\/td>\n<td>\u30ed\u30b0\u306e\u53d6\u5f97\u3092\u958b\u59cb\u3059\u308b\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30ed\u30b0\u306e\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3067\u3042\u308b0\u304b\u3089\u958b\u59cb\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>limit<\/td>\n<td>\u53d6\u5f97\u3059\u308b\u8a18\u9332\u306e\u6570\u3067\u3059\u3002\u6700\u5927\u5024\u306f50\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>timezone<\/td>\n<td>\u4f8b\uff1aAmerica\/New_York<\/td>\n<\/tr>\n<tr>\n<td>fromDate<\/td>\n<td>\u30ed\u30b0\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u65e5\u4ed8\u3002\u6709\u52b9\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff08yyyy-mm-dd\uff09\u307e\u305f\u306f\u6709\u52b9\u306a\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7<\/td>\n<\/tr>\n<tr>\n<td>toDate<\/td>\n<td>\u30ed\u30b0\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u308b\u307e\u3067\u306e\u65e5\u4ed8\u3002\u6709\u52b9\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff08yyyy-mm-dd\uff09\u307e\u305f\u306f\u6709\u52b9\u306a\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7<\/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\">\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-3\">\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-4\">\u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<pre>curl -X GET \\ https:\/\/{{host}}\/api\/{{version}}\/{{BotID}}\/debuglogs?identity={{id}}&amp;channelType=ivrVoice&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone=America\/New_York&apos; \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&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-5\">\u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54<\/span><\/h3>\n<pre>[ { &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.258Z&quot;, &quot;nomatch_count&quot;: &quot;0&quot;, &quot;noinput_count&quot;: &quot;1&quot;, &quot;debugTitle&quot;: &quot;Bing&quot;, &quot;debugLevel&quot;: &quot;Info&quot;, &quot;debugMessage&quot;: &quot;intent node initiated&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.258Z&quot;, &quot;debugTitle&quot;: &quot;Bing&quot;, &quot;debugLevel&quot;: &quot;Info&quot;, &quot;debugMessage&quot;: &quot;intent node processing is completed&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.258Z&quot;, &quot;debugTitle&quot;: &quot;Nam&quot;, &quot;debugLevel&quot;: &quot;Info&quot;, &quot;debugMessage&quot;: &quot;entity node initiated&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.258Z&quot;, &quot;debugTitle&quot;: &quot;Nam&quot;, &quot;debugLevel&quot;: &quot;Info&quot;, &quot;debugMessage&quot;: &quot;Waiting for user input&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;debugTitle&quot;: &quot;Nam&quot;, &quot;debugMessage&quot;: &quot;User prompt parsing&quot;, &quot;debugLevel&quot;: &quot;info&quot;, &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.304Z&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;debugTitle&quot;: &quot;Nam&quot;, &quot;debugMessage&quot;: &quot;User prompt parsing successful&quot;, &quot;debugLevel&quot;: &quot;info&quot;, &quot;debugDetail&quot;: &quot;\\&quot;Let me know your name\\n\\&quot;&quot;, &quot;timestamp&quot;: &quot;2018-11-22T13:06:17.325Z&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;timestamp&quot;: &quot;2018-11-22T13:6:31.464Z&quot;, &quot;nomatch_count&quot;: &quot;2&quot;, &quot;noinput_count&quot;: &quot;0&quot;, &quot;debugTitle&quot;: &quot;Nam&quot;, &quot;debugLevel&quot;: &quot;Warning&quot;, &quot;debugMessage&quot;: &quot;executeNode has invoked due to MAX_NO_MATCH event&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } }, { &quot;timestamp&quot;: &quot;2018-11-22T13:7:54.395Z&quot;, &quot;debugTitle&quot;: &quot;Company: Reached end of dialog&quot;, &quot;debugLevel&quot;: &quot;Info&quot;, &quot;metaInfo&quot;: { &quot;channel&quot;: &quot;ivrVoice&quot;, &quot;identity&quot;: &quot;Nov22PilotEnv1&quot; } } ]<\/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":"\u7279\u5b9a\u306e\u4f1a\u8a71\u306e\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\uff08\u73fe\u5728\u306fIVR\u30c1\u30e3\u30cd\u30eb\u306e\u307f\u30b5\u30dd\u30fc\u30c8\uff09\u3002 \u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0] \u306e [\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u306eAPI\u30b9\u30b3\u30fc\u30d7] \u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002 GET https:\/\/{{host}}\/api\/{{version}\/{{BotID}}\/debuglogs?identity={{identity}}&amp;channelType={{channelType}}&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone={{timezone}} \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e \u30db\u30b9\u30c8 \u74b0\u5883URL\uff08\u4f8b\uff09 https:\/\/bots.kore.ai BotID \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 ID \u547c\u3073\u51fa\u3057\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u4e00\u610f\u306eID\u3002 channelType &nbsp;&quot;ivrVoice&quot; \u73fe\u5728\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c1\u30e3\u30cd\u30eb minimumInfo \u4efb\u610f\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3059\u3002\u30b5\u30de\u30ea\u306e\u307f\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f&quot;true&quot;\u3092\u8a2d\u5b9a offset \u30ed\u30b0\u306e\u53d6\u5f97\u3092\u958b\u59cb\u3059\u308b\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30ed\u30b0\u306e\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3067\u3042\u308b0\u304b\u3089\u958b\u59cb\u3055\u308c\u307e\u3059 limit \u53d6\u5f97\u3059\u308b\u8a18\u9332\u306e\u6570\u3067\u3059\u3002\u6700\u5927\u5024\u306f50\u3067\u3059 timezone \u4f8b\uff1aAmerica\/New_York fromDate \u30ed\u30b0\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u65e5\u4ed8\u3002\u6709\u52b9\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff08yyyy-mm-dd\uff09\u307e\u305f\u306f\u6709\u52b9\u306a\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7 toDate \u30ed\u30b0\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u308b\u307e\u3067\u306e\u65e5\u4ed8\u3002\u6709\u52b9\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff08yyyy-mm-dd\uff09\u307e\u305f\u306f\u6709\u52b9\u306a\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7 \u8a8d\u8a3c \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 auth: {{JWT}} \u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7 application\/json \u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8 curl -X GET \\ https:\/\/{{host}}\/api\/{{version}}\/{{BotID}}\/debuglogs?identity={{id}}&amp;channelType=ivrVoice&amp;minimumInfo=true&amp;limit=5&amp;offset=300&amp;timezone=America\/New_York&apos; \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&apos; \\ \u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54 [ {...","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-29431","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\/29431","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=29431"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29431\/revisions"}],"predecessor-version":[{"id":29432,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/posts\/29431\/revisions\/29432"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/media?parent=29431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/categories?post=29431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-1\/wp-json\/wp\/v2\/tags?post=29431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}