List audit log entries
GET/auditLogs
Retrieves a paginated, read-only list of audit log entries for the organizations covered by the API key. Requires a tenant-level key, or a key covering the top-level organization, with the auditlogs scope. By default only the last 30 days are returned, and actions by OutThink support staff are excluded (includeOutThinkSupport defaults to false). When included, staff actions are masked - the actor is shown as support@outthink.io with no user ID and isOutThinkSupport set to true. Pagination uses skip and take (take defaults to 10 and is clamped to 1-100). The total is returned on every page. See the audit logs guide.
Request
Responses
- 200
- 400
- 403
- 500
Success
Bad Request. Checked after the 403 checks. Code unsupported_sort (field names the sort field) when sorting on actionType or resource; invalid_parameter with the field name for an invalid value (a non-UUID id, an unsupported status, a filter value over 256 characters or containing a comma, a single-valued parameter sent more than once, a skip or take that is not an integer, or an end before the start, reported on createdTo). This endpoint has no required parameters, so it never returns missing_parameter.
Forbidden. Checked in this order: invalid_apiKey_level (the key is neither tenant-level nor covers the top-level organization), missing_required_scope (the key lacks the auditlogs scope; wildcard keys pass), organization_access_exception (an organizationId outside the key's coverage).
Server Error