{"id":41198,"date":"2022-04-21T06:16:29","date_gmt":"2022-04-21T05:16:29","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41198"},"modified":"2022-04-21T06:16:51","modified_gmt":"2022-04-21T05:16:51","slug":"get-audit-logs-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/get-audit-logs-api\/?lang=ko","title":{"rendered":"\uad00\ub9ac\uc790 \ucf58\uc194 \uac10\uc0ac \ub85c\uadf8 API \uac00\uc838\uc624\uae30"},"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>\uad00\ub9ac\uc790 \ucf58\uc194 \uac10\uc0ac \ub85c\uadf8\ub97c \uac00\uc838\uc635\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><b>GET: <\/b><code>https:\/\/{{host}}\/<span style=\"font-weight: 400\">api\/public\/auditlogs?size=50&amp;offset=0&amp;fromDate={{timestamp}}&amp;toDate={{timestamp}}&amp;fetchAfter={{AuditLogId}}<\/span><\/code> <\/p>\n<p>\ucc38\uace0 \uc0ac\ud56d: \uc774 \uae30\ub2a5\uc740 \ud50c\ub7ab\ud3fc\uc758 v7.2\uc5d0 \ub3c4\uc785\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/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<p>&nbsp;<\/p>\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: https:\/\/bots.kore.ai)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">size<\/span><\/td>\n<td>\uac00\uc838\uc62c \ub808\ucf54\ub4dc \uc218\ub294 \ucd5c\ub300 100\uac1c\uc785\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">offset<\/span><\/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><span style=\"font-weight: 400\">fromDate<\/span><\/td>\n<td>yyyy-mm-dd(\ub610\ub294) yyyy-mm-ddThh:mm:ss.msZ \ud615\uc2dd\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4(\uc608: 2019-04-01 \ub610\ub294 2019-04-01T13:25:58.515Z)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">toDate<\/span><\/td>\n<td>yyyy-mm-dd(\ub610\ub294) yyyy-mm-ddThh:mm:ss.msZ \ud615\uc2dd\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4(\uc608: 2019-04-01 \ub610\ub294 2019-04-01 T13:26:05.598Z)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">fetchAfter (\uc120\ud0dd \uc0ac\ud56d)<\/span><\/td>\n<td>\ub85c\uadf8\ub97c \uac00\uc838\uc62c \uac10\uc0ac \ub85c\uadf8 ID\uc785\ub2c8\ub2e4. \uc774 ID\ub294 \uac10\uc0ac \ub85c\uadf8\uc5d0 \uc0dd\uc131\ub41c \uac01 \ub808\ucf54\ub4dc\uc5d0 \ub300\ud55c \uace0\uc720\ud55c \uc99d\ubd84 ID\uc774\uba70 \uc774\uc804 \uac10\uc0ac \ub85c\uadf8 \ud30c\uc77c\uc744 \ubcf4\uace0 \uc5bb\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/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 --location --request GET '  \r\n  https:\/\/{{host}}\/api\/public\/auditlogs?size=50&amp;offset=0&amp;fromDate=2021-07-07T11:11:18.464Z&amp;toDate=2021-06-30T11:11:18.469Z' \\\r\n--header 'auth: YOUR_JWT_ACCESS_TOKEN' \\\r\n--header 'Content-Type: application\/json'<\/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<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210713131454\/img.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28587\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210713131454\/img.png\" alt=\"\" width=\"812\" height=\"784\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210713131454\/img.png 812w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210713131454\/img-300x290.png 300w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\uad00\ub9ac\uc790 \ucf58\uc194 \uac10\uc0ac \ub85c\uadf8\ub97c \uac00\uc838\uc635\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. GET: https:\/\/{{host}}\/api\/public\/auditlogs?size=50&amp;offset=0&amp;fromDate={{timestamp}}&amp;toDate={{timestamp}}&amp;fetchAfter={{AuditLogId}} \ucc38\uace0 \uc0ac\ud56d: \uc774 \uae30\ub2a5\uc740 \ud50c\ub7ab\ud3fc\uc758 v7.2\uc5d0 \ub3c4\uc785\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 &nbsp; \ub9e4\uac1c \ubcc0\uc218 \uc124\uba85 host \ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai) size \uac00\uc838\uc62c \ub808\ucf54\ub4dc \uc218\ub294 \ucd5c\ub300 100\uac1c\uc785\ub2c8\ub2e4 offset \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...","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-41198","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\/41198","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=41198"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41198\/revisions"}],"predecessor-version":[{"id":41199,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41198\/revisions\/41199"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}