관리자 콘솔 감사 로그를 가져옵니다.

이 API를 사용하려면 앱에 관리자 API 범위가 필요합니다.

GET: https://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate={{timestamp}}&toDate={{timestamp}}&fetchAfter={{AuditLogId}} 참고 사항: 이 기능은 플랫폼의 v7.2에 도입되었습니다.

쿼리 매개 변수

 

매개 변수 설명
host 환경 URL(예: https://bots.kore.ai)
size 가져올 레코드 수는 최대 100개입니다
offset 로그 가져오기를 시작할 페이지 번호를 지정합니다. 지정하지 않으면 로그 목록의 첫 번째 페이지인 0부터 시작됩니다
fromDate yyyy-mm-dd(또는) yyyy-mm-ddThh:mm:ss.msZ 형식을 사용합니다(예: 2019-04-01 또는 2019-04-01T13:25:58.515Z)
toDate yyyy-mm-dd(또는) yyyy-mm-ddThh:mm:ss.msZ 형식을 사용합니다(예: 2019-04-01 또는 2019-04-01 T13:26:05.598Z)
fetchAfter (선택 사항) 로그를 가져올 감사 로그 ID입니다. 이 ID는 감사 로그에 생성된 각 레코드에 대한 고유한 증분 ID이며 이전 감사 로그 파일을 보고 얻을 수 있습니다.

권한 부여

다음 구문을 포함한 헤더에 JWT를 포함한 API를 호출합니다. auth: {{JWT}}

콘텐츠 유형 응답

application/json

샘플 요청

curl --location --request GET '  
  https://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate=2021-07-07T11:11:18.464Z&toDate=2021-06-30T11:11:18.469Z' \
--header 'auth: YOUR_JWT_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

샘플 응답

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

管理者コンソールの監査ログを取得。

このAPIを使用するには、アプリに管理者APIスコープが必要です。

GEThttps://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate={{timestamp}}&toDate={{timestamp}}&fetchAfter={{AuditLogId}} メモ:この機能は、プラットフォームVer7.2で導入されました。

クエリパラメータ

 

パラメータ 説明
host 環境URL、例: https://bots.kore.ai
size 最大100件まで取得する記録の数
offset ログの取得の開始ページ番号を指定します。指定がない場合は、0から始まり、これがログリストの最初のページとなります。
fromDate 日付の形式を選びます yyyy-mm-dd (または) yyyy-mm-ddThh:mm:ss.msZ 例:2019-04-01 (または) 2019-04-01T13:25:58.515Z
toDate 日付の形式を選びます yyyy-mm-dd (または) yyyy-mm-ddThh:mm:ss.msZ 例:2019-04-01 (または) 2019/04/01T13:26:05.598Z
fetchAfter(オプション) ログを取得したい監査ログID。これは、監査ログで作成された各記録に一意の増分IDであり、前回の監査ログファイルを見ると、これを取得することができます。

認証

ヘッダー内のJWTを含むAPIを、以下の構文で呼び出します。 auth: {{JWT}}

応答コンテンツタイプ

application/json

サンプルのリクエスト

curl --location --request GET '  
  https://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate=2021-07-07T11:11:18.464Z&toDate=2021-06-30T11:11:18.469Z' \
--header 'auth: YOUR_JWT_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

サンプルのレスポンス

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

To get admin console audit logs.

To use this API, app needs the Admin API Scope.

GET https://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate={{timestamp}}&toDate={{timestamp}}&fetchAfter={{AuditLogId}}

NOTE: This feature was introduced in ver7.2 of the platform.

Query Parameters

 

Parameter Description
host Environment URL, for example, https://bots.kore.ai
size Number of records to be fetched upto a maximum of 100
offset Specify the page number from which to start fetching the logs. If unspecified, it starts from 0, which is the first page of the list of logs
fromDate Takes the date format yyyy-mm-dd
(or) yyyy-mm-ddThh:mm:ss.msZ
eg:2019-04-01 (or) 2019-04-01T13:25:58.515Z
toDate Takes the date format yyyy-mm-dd
(or) yyyy-mm-ddThh:mm:ss.msZ
eg:2019-04-01 (or) 2019-04-01 T13:26:05.598Z
fetchAfter
(optional)
Audit Log Id from where you want to fetch the logs.
This is an unique incremental ID for each record created under audit logs and you can obtain it from looking at the previous audit log file.

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/json

Sample Request

curl --location --request GET '  
  https://{{host}}/api/public/auditlogs?size=50&offset=0&fromDate=2021-07-07T11:11:18.464Z&toDate=2021-06-30T11:11:18.469Z' \
--header 'auth: YOUR_JWT_ACCESS_TOKEN' \
--header 'Content-Type: application/json'

Sample Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed