Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Design
Develop
Storyboard
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Connections & Transitions
Managing Dialogs
Prompt Editor
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
koreUtil Libraries
Universal Bots
Defining
Creating
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configuring Digital Views
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. API Guide
  5. Get Admin Console Audit Logs API

Get Admin Console Audit Logs API

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

http://localhost/api/public/auditlogs?size=50&offset=0&fromDate=2020-01-02T18:30:00.000Z&toDate=2020-01-07T18:30:00.000Z&fetchAfter=5exxcxxafxxdxxxxaaxdxxxb

Sample Response

{
    "total": 3,
    "auditlogs": [
        {
            "timestampValue": 1578157612745,
            "Date/Time": "2020-01-04T17:06:52.745Z",
            "Description": "xyz logged out at Sat Jan 04 2020 22:36:52 GMT+0530 (India Standard Time) from 127.0.0.1 via web",
            "Name": "Logout",
            "Category": "Login / Logout",
            "AuditLogId": "5e10c62ce0e2f05f05f48068"
        },
        {
            "timestampValue": 1578157612773,
            "Date/Time": "2020-01-04T17:06:52.773Z",
            "Description": "xyz logged out at Sat Jan 04 2020 22:36:52 GMT+0530 (India Standard Time) from 127.0.0.1 via web",
            "Name": "Logout",
            "Category": "Login / Logout",
            "AuditLogId": "5e10c62ce0e2f05f05f48069"
        },
        {
            "timestampValue": 1578292105981,
            "Date/Time": "2020-01-06T06:28:25.981Z",
            "Description": "New app admin app 2 is created",
            "Name": "App Creation - Success",
            "Category": "App Management",
            "AuditLogId": "5e12d38a050d9e671163f4b7"
        }
    ],
    "moreAvailable": false
}
Menu