DokuBrain
Platform

Audit Logs

Complete audit trail for all operations in your organization.

Audit Logs

DokuBrain maintains a complete audit trail of all operations performed in your organization. Every document upload, extraction, search query, and administrative action is logged.

Viewing audit logs

Access audit logs from the dashboard at Settings → Governance → Audit Log, or query via the API:

Query audit logs
curl "https://api.dokubrain.com/api/v1/governance/audit?limit=50&action=document.extracted" \
  -H "Authorization: Bearer YOUR_API_KEY"

Logged events

CategoryEvents
Documentsupload, delete, extract, classify, summarize, compare
Corpuscreate, delete, search, query
Workflowscreate, update, delete, run, complete, fail
Userslogin, logout, password_change, 2fa_enable, 2fa_disable
API Keyscreate, revoke
Governancepolicy_create, policy_update, compliance_check, quarantine
Organizationmember_invite, member_remove, role_change, settings_update

Log entry format

{
  "id": "log_abc123",
  "action": "document.extracted",
  "actor": {
    "id": "usr_abc123",
    "name": "Jane Doe",
    "email": "jane@example.com"
  },
  "resource": {
    "type": "document",
    "id": "doc_xyz789",
    "name": "invoice.pdf"
  },
  "metadata": {
    "templateId": "invoice",
    "fieldsExtracted": 8
  },
  "ipAddress": "203.0.113.42",
  "userAgent": "Mozilla/5.0...",
  "timestamp": "2026-03-15T10:30:15Z"
}

Retention

Audit logs are retained for the duration of your plan:

PlanRetention
Free30 days
Pro1 year
EnterpriseUnlimited (configurable)

On this page