List the organization's security audit log
GET/api/v1/organizations/current/audit-log
Read-only, newest-first view of the org's append-only audit log.
Admin/owner only — the same audience as the 2FA dashboard. Actors that are
users in this org are resolved to email/name for display; the response is
field-whitelisted (the typed AuditMetadata carries no credentials, and
raw the database object ids are never returned). Backed by the
(organization_id, occurred_at desc) index.
- API-key scope required:
members:read.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.