For the complete documentation index, see llms.txt. This page is also available as Markdown.

Filtering audit logs

Below is a list of attributes available for filtering audit logs.

Attribute
Type

memberId

string

resourceType

string

resourceId

string

clientId

string

trigger

string

action

string

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>');

$auditLogs = $ccapi->auditLogs()->list(['action' => 'update']);
from complycube import ComplyCubeClient

cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')

audit_logs = cc_api.auditlogs.list(action='update')
using ComplyCube.Net;
using ComplyCube.Net.Resources.AuditLogs;

var auditLogApi = new AuditLogApi(new ComplyCubeClient("<YOUR_API_KEY>"));

var filter = new AuditLogRequest { action = "update" };

var auditLogs = await auditLogApi.ListAsync(filter);