Audit Logs
Track all important actions using our rich audit logs.
An audit log object provides information about the action and user that initiated the changes and the old and new values, where applicable.
The API allows you to retrieve audit logs for a given client, action, resource, or trigger.
The Audit Log object
id
string
The unique identifier for an audit log.
resourceType
string
The type of audited resource. Valid values include:
client
address
document
check
resourceId
string
The id of the audited resource.
clientId
string
The id of the client associated with the audited resource.
trigger
string
The event that triggered the audit log creation, e.g. updateClient.
action
string
The type of action. Possible values are:
create
update
delete
diff
array[object]
The diff between the old and new values of the audited resource. Also, see the diff object below.
createdAt
string
The date and time when the audit log was created.
The diff
object
diff
objectaction
string
Indicates the kind of change. Possible values are:
new
- indicates a newly added attribute/element.delete
- indicates an attribute/element was deleted.update
- indicates an attribute/element was updated.add
- indicates a change occurred within an array.
path
array[string]
The left-to-right path of the attribute in the audited resource e.g. ['personDetails', 'firstName']
indicates that firstName within the personDetails object is the attribute affected by the action.
old
string
The old value of the audited attribute.
new
string
The new value of the audited attribute. When action
is new, the type of new
is object
rather than string
Last updated