Platform / Audit Trail

The log your auditor will actually ask for

Every LLM call captured in an immutable, structured audit record. Query by request ID, model version, tenant, or time range. Built for the questions compliance teams ask six months later.

audit_log_entry.json
request_id"4f2a8b1c-9d3e-4f7a-b5c2-1e8f9d0a2b3c"
tenant_id"acme-wealth-mgmt"
model_version"gpt-4o-2024-11-20"
policy_verdict"REDACTED"
pii_findings[PII_NAME, PII_ACCT_NUM]
redaction_count2
prompt_hash"sha256:9c3d1f..."
created_at"2025-09-22T14:31:07Z"
Log field anatomy

Every field captured because compliance teams asked for it. Log records are written once and never modified — WORM-pattern storage at the application layer, with SHA-256 integrity hashing so any tampering is detectable.

Audit log entry mockup showing request ID, timestamp, tenant ID, model version, redaction count fields
request_id
UUID v4. Immutable primary key for the audit record. Cross-reference from incident reports, SIEM, or external systems.
tenant_id
The tenant scope assigned at the proxy layer. Pulled from header, API key, or project context — not from the prompt.
model_version
Full model version string as reported by the upstream API. Critical for reproducibility — "which version produced this answer?"
policy_verdict
ALLOWED / REDACTED / BLOCKED. Machine-readable verdict for automated compliance filtering and alerting.
pii_findings
List of entity type labels detected. Not the raw values — just the type identifiers. Auditor gets the count and category without seeing the data.
prompt_hash
SHA-256 of the pre-redaction prompt. Proves the prompt existed at this timestamp. Post-redaction prompt hash also stored separately.
created_at
UTC ISO 8601 timestamp of the Meibel intercept, not the upstream model response. Server-side clock, not client-submitted.
Query interface

REST API for compliance exports, SIEM integration, and ad-hoc audit queries.

tenant=acme-wealth-mgmt
verdict=REDACTED
from=2025-09-01
to=2025-09-30
curl
curl -H "Authorization: Bearer mbl_live_..." \
  "https://api.meibelai.org/v1/audit?tenant=acme-wealth-mgmt&verdict=REDACTED&from=2025-09-01&to=2025-09-30"

Build the audit trail before the auditor asks.

Every call logged from day one. Request access and start building your compliance evidence package.