Retrieve audit logs
GET
https://api.detected.app/api/v2/public/audit-logs
order_bystring<p>Order results in ascending (<code>asc</code>) or descending (<code>desc</code>) order. This parameter only works when <code>sort_by</code> is specified.</p>
sort_bystring<p>The <code>sort_by</code> parameter specifies the field to sort results by.
This parameter works in conjunction with <code>order_by</code>. If <code>sort_by</code> is not specified, results default to descending by <code>actioned_at</code>.</p>
<p>Currently, we support these fields:</p>
<ol>
<li><code>id</code></li>
<li><code>actioned_at</code></li>
<li><code>action</code></li>
<li><code>performed_by</code></li>
</ol>
pagestringCurrent page number
profile_idstring<p>The <code>profile_id</code> parameter filters audit logs to a specific profile by its UUID</p>
actionstring<p>The <code>action</code> parameter filters audit logs by the action performed (e.g. <code>created</code>, <code>updated</code>, <code>viewed</code>)</p>
performed_bystring<p>The <code>performed_by</code> parameter filters audit logs by the name of the user or system that performed the action</p>
acceptstringGenerated from available response content types
AuthorizationstringBearer token
200Ok
401Unauthorized
403Forbidden
429Too Many Requests
curl --request GET \
--url https://api.detected.app/api/v2/public/audit-logs \
--header 'accept: application/json'