Below is a list of attributes available for audit logs.
Example - Get all audit logs for one action
In the example below, we will request to get all audit logs with action create
.
curl -X GET https://api.complycube.com/v1/auditLogs?resouceType=document \
-H 'Authorization: <YOUR_API_KEY>'
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR API KEY>');
$client = $ccapi->auditLogs()->list(['action' => 'update']);
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')
logs = cc_api.auditlogs.list(action='create')