Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

Medera writes immutable audit events on:
SourceTableMigration
PHI accessphi_audit_logs080+
Workflow executionagent_workflow_executions.execution_trace[]110
Deployment actionsdeployment_audit_log (WORM)140 / 145
Config accessConfig access audit table137
Auth eventsauditLogger + Datadog
Realtime correctionstranscription_corrections, clinical_ai_suggestions126

WORM semantics

deployment_audit_log is append-only — UPDATE and DELETE are blocked. Migration 145 fixed the actor FK to SET NULL so the WORM invariant holds when an actor is deleted.

Merkle integrity

Migration 118 introduced audit integrity checkpoints — events are chained into a Merkle tree so tampering breaks the chain. Verify via:
GET /api/audit/integrity-checkpoints

Retention

Default 6 years, configurable up to 22 years.

Reading audit logs

GET /api/audit/access-logs
POST /api/audit/exports          # signed URL export