The Audit Logs API provides a comprehensive tracking system for monitoring and retrieving historical changes made to various resources within the system. It captures detailed information about who made changes when they occurred, and what specific modifications were made.
Request Parameters
Parameter
Type
Required
Description
fromTimestamp
Long
Yes
Start time in Unix milliseconds (epoch)
toTimestamp
Long
Yes
End time in Unix milliseconds (epoch)
page
Integer
Yes
Page number (0-based indexing)
size
Integer
Yes
Number of records per page (default: 10)
... with more specific params
Response Structure
Response Fields
Field
Type
Description
list
Array
Array of audit log entries
totalRecords
Integer
Total number of records matching the query
totalPages
Integer
Total number of pages available
Audit Log Entry Fields
Field
Type
Description
requestTimestamp
Long
Timestamp of the action in Unix milliseconds
initiatorTenantName
String
Name of the tenant initiating the action
principalType
String
Type of principal ("API_KEY" or "USER")
principalId
String
API key ID (for API_KEY) or user ID (for USER)
principalName
String
API key ID (for API_KEY) or email address (for USER)
ipAddress
String
IP address of the requester
userAgent
String
User agent string of the requester
auditableAction
String
Type of action performed (e.g., "ASSIGN", "UNASSIGN")
auditableResource
String
Type of resource modified (e.g., "TRIGGER_VARIABLE", "SCHEME")
resourceName
String
Name of the specific resource
additionalMetadata
String
JSON string containing additional context
previousState
String
JSON string of the previous state
newState
String
JSON string of the new state
Additional Metadata Structure
The additionalMetadata field is a JSON string containing: