{"id":39436,"date":"2022-04-01T09:27:05","date_gmt":"2022-04-01T08:27:05","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=39436"},"modified":"2022-04-01T09:28:19","modified_gmt":"2022-04-01T08:28:19","slug":"get-admin-console-audit-logs-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/get-admin-console-audit-logs-api\/?lang=ja","title":{"rendered":"Get Admin Console Audit Logs 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>\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u76e3\u67fb\u30ed\u30b0\u3092\u53d6\u5f97\u3002<\/p>\n<p class=\"note\">\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30a2\u30d7\u30ea\u306b\u7ba1\u7406\u8005API\u30b9\u30b3\u30fc\u30d7\u304c\u5fc5\u8981\u3067\u3059\u3002<\/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>\u30e1\u30e2\uff1a\u3053\u306e\u6a5f\u80fd\u306f\u3001\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0Ver7.2\u3067\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\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\">\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf<\/span><\/h3>\n<p>&nbsp;<\/p>\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>host<\/td>\n<td>\u74b0\u5883URL\u3001\u4f8b\uff1ahttps:\/\/bots.kore.ai<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">size<\/span><\/td>\n<td>\u6700\u5927100\u4ef6\u307e\u3067\u53d6\u5f97\u3059\u308b\u8a18\u9332\u306e\u6570<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">offset<\/span><\/td>\n<td>\u30ed\u30b0\u306e\u53d6\u5f97\u306e\u958b\u59cb\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u304c\u306a\u3044\u5834\u5408\u306f\u30010\u304b\u3089\u59cb\u307e\u308a\u3001\u3053\u308c\u304c\u30ed\u30b0\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3068\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">fromDate<\/span><\/td>\n<td>\u65e5\u4ed8\u306e\u5f62\u5f0f\u3092\u9078\u3073\u307e\u3059 yyyy-mm-dd (\u307e\u305f\u306f) yyyy-mm-ddThh:mm:ss.msZ \u4f8b:2019-04-01 (\u307e\u305f\u306f) 2019-04-01T13:25:58.515Z<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">toDate<\/span><\/td>\n<td>\u65e5\u4ed8\u306e\u5f62\u5f0f\u3092\u9078\u3073\u307e\u3059 yyyy-mm-dd (\u307e\u305f\u306f) yyyy-mm-ddThh:mm:ss.msZ \u4f8b:2019-04-01 (\u307e\u305f\u306f) 2019\/04\/01T13:26:05.598Z<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">fetchAfter\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09<\/span><\/td>\n<td>\u30ed\u30b0\u3092\u53d6\u5f97\u3057\u305f\u3044\u76e3\u67fb\u30ed\u30b0ID\u3002\u3053\u308c\u306f\u3001\u76e3\u67fb\u30ed\u30b0\u3067\u4f5c\u6210\u3055\u308c\u305f\u5404\u8a18\u9332\u306b\u4e00\u610f\u306e\u5897\u5206ID\u3067\u3042\u308a\u3001\u524d\u56de\u306e\u76e3\u67fb\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u308b\u3068\u3001\u3053\u308c\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/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>\u30d8\u30c3\u30c0\u30fc\u5185\u306eJWT\u3092\u542b\u3080API\u3092\u3001\u4ee5\u4e0b\u306e\u69cb\u6587\u3067\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\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\u306e\u30ea\u30af\u30a8\u30b9\u30c8<\/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\">\u30b5\u30f3\u30d7\u30eb\u306e\u30ec\u30b9\u30dd\u30f3\u30b9<\/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":"\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u76e3\u67fb\u30ed\u30b0\u3092\u53d6\u5f97\u3002 \u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30a2\u30d7\u30ea\u306b\u7ba1\u7406\u8005API\u30b9\u30b3\u30fc\u30d7\u304c\u5fc5\u8981\u3067\u3059\u3002 GEThttps:\/\/{{host}}\/api\/public\/auditlogs?size=50&amp;offset=0&amp;fromDate={{timestamp}}&amp;toDate={{timestamp}}&amp;fetchAfter={{AuditLogId}} \u30e1\u30e2\uff1a\u3053\u306e\u6a5f\u80fd\u306f\u3001\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0Ver7.2\u3067\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002 \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf &nbsp; \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e host \u74b0\u5883URL\u3001\u4f8b\uff1ahttps:\/\/bots.kore.ai size \u6700\u5927100\u4ef6\u307e\u3067\u53d6\u5f97\u3059\u308b\u8a18\u9332\u306e\u6570 offset \u30ed\u30b0\u306e\u53d6\u5f97\u306e\u958b\u59cb\u30da\u30fc\u30b8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u304c\u306a\u3044\u5834\u5408\u306f\u30010\u304b\u3089\u59cb\u307e\u308a\u3001\u3053\u308c\u304c\u30ed\u30b0\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u3068\u306a\u308a\u307e\u3059\u3002 fromDate \u65e5\u4ed8\u306e\u5f62\u5f0f\u3092\u9078\u3073\u307e\u3059 yyyy-mm-dd (\u307e\u305f\u306f) yyyy-mm-ddThh:mm:ss.msZ \u4f8b:2019-04-01 (\u307e\u305f\u306f) 2019-04-01T13:25:58.515Z toDate \u65e5\u4ed8\u306e\u5f62\u5f0f\u3092\u9078\u3073\u307e\u3059 yyyy-mm-dd (\u307e\u305f\u306f) yyyy-mm-ddThh:mm:ss.msZ \u4f8b:2019-04-01 (\u307e\u305f\u306f) 2019\/04\/01T13:26:05.598Z fetchAfter\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09 \u30ed\u30b0\u3092\u53d6\u5f97\u3057\u305f\u3044\u76e3\u67fb\u30ed\u30b0ID\u3002\u3053\u308c\u306f\u3001\u76e3\u67fb\u30ed\u30b0\u3067\u4f5c\u6210\u3055\u308c\u305f\u5404\u8a18\u9332\u306b\u4e00\u610f\u306e\u5897\u5206ID\u3067\u3042\u308a\u3001\u524d\u56de\u306e\u76e3\u67fb\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u308b\u3068\u3001\u3053\u308c\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \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}} \u5fdc\u7b54\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7 application\/json \u30b5\u30f3\u30d7\u30eb\u306e\u30ea\u30af\u30a8\u30b9\u30c8 curl --location --request GET ' 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' \\ --header 'auth: YOUR_JWT_ACCESS_TOKEN' \\ --header 'Content-Type: application\/json' \u30b5\u30f3\u30d7\u30eb\u306e\u30ec\u30b9\u30dd\u30f3\u30b9","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-39436","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\/39436","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=39436"}],"version-history":[{"count":3,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/39436\/revisions"}],"predecessor-version":[{"id":39439,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/39436\/revisions\/39439"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=39436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=39436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=39436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}