Get System Wide Audit Logs
Get system-wide audit logs across ALL organizations.
Permission: audit.read (SITE-level) - System Administrators ONLY
WARNING: This endpoint returns audit logs from ALL organizations. Use with caution and only for system administration purposes.
Accessible by:
- System administrators only
Returns:
- All audit logs across the entire system
- Can be filtered by organization, user, entity type, or action
- Shows complete system activity
Use cases:
- System-wide security monitoring
- Cross-organization compliance audits
- Platform usage analytics
- Incident investigation
Query Parameters:
- organization_id: Filter to specific organization
- user_id: Filter to specific user (across all orgs)
- entity_type: Filter by entity (e.g., "credential", "workflow")
- action: Filter by action (e.g., "create", "reveal", "delete")
- page, per_page: Pagination
get/api/v1/admin/audit-logs
Request
- Base URL: https://api.sanifu.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sanifu.ai/api/v1/admin/audit-logs
- Auth: one of:
- OAuth 2 (password, token URL auth/jwt/login)
- HTTP basic
Query parameters
pageinteger nullable
per_pageinteger nullable
searchstring nullable
filterstring nullable
orderbystring[] nullable
tzstring nullable
IANA timezone name for interpreting date-only filters (e.g., 'UTC', 'Africa/Nairobi')
exportstring nullable
entity_typestring nullable
Filter by entity type (credential, workflow, etc.)
actionstring nullable
Filter by action (create, update, delete, reveal, etc.)
user_idinteger nullable
Filter by user ID
organization_idinteger nullable
Filter by organization ID (admin only)
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.