Audit log
List audit logs
Returns the requests that changed something in the last six months, newest first: who made them, through which AI client or app, and the endpoint they called.
query Parameters
employee_idOnly the requests made by this employee.
oauth_connection_idOnly the requests made through this OAuth connection, or none for those made without one.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List audit logs › Responses
Array of AuditLogListResource
idemployee_idThe employee who made the request, or who was signed in as the contact. Empty when a contact made the request themselves, and when the employee is gone, the name stays then.
employee_full_nameis_service_accountWhether the employee is an API integration rather than a person. Empty when the employee is gone.
oauth_connection_nameThe AI client or app the request was made through.
contact_idcontact_full_nameis_impersonatedWhether someone else made the request signed in as them: Clienvy support as the employee, or the employee as the contact.
methodpathThe endpoint that was called, without the query string.
statusThe HTTP status code of the answer.
created_atList employees with audit logs
Returns who the list can be filtered on with employee_id: the employees and API
integrations that made audit logs, deactivated ones included.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List employees with audit logs › Responses
Array of EmployeeReferenceResource
idfirst_namelast_namefull_namedeactivated_atSet when the employee is deactivated: no sign in, no subscription slot, not selectable.
functionis_service_accountService accounts are for machine to machine API access
Get an audit log
Returns one request with what was sent and answered, as long as that is still kept (a few days), with secrets masked.
path Parameters
auditLogThe audit log UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get an audit log › Responses
AuditLogResource
idemployee_idThe employee who made the request, or who was signed in as the contact. Empty when a contact made the request themselves, and when the employee is gone, the name stays then.
employee_full_nameis_service_accountWhether the employee is an API integration rather than a person. Empty when the employee is gone.
oauth_connection_nameThe AI client or app the request was made through.
contact_idcontact_full_nameis_impersonatedWhether someone else made the request signed in as them: Clienvy support as the employee, or the employee as the contact.
methodpathThe endpoint that was called, without the query string.
statusThe HTTP status code of the answer.
created_atip_addressuser_agentbrowserplatformrequest_bodyWhat was sent, with secrets masked as ***. Empty when nothing was sent, and after a
few days.
response_bodyWhat was answered, with secrets masked as ***. Empty when the answer was no JSON, and
after a few days.