Skip to content

Interface: AuditResponseHeaders

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AuditResponseHeaders

Defined in: src/types/compliance.ts:291

The audit ledger’s x-osfkb-* response headers, as readAuditHeaders reads them.

Response headers, not a body: a resource method returns the body alone, so read them in an Interceptor, or from ApiError.headers on a failure.

auditError: string | null

Defined in: src/types/compliance.ts:305

x-osfkb-audit-error — set when the ledger append of a CAUSAL request failed after the handler ran. The record auditRecord names does NOT exist.


auditRecord: string | null

Defined in: src/types/compliance.ts:297

x-osfkb-audit-record — the id of the audit record this request produced. Set on every audited response (POST/PUT/PATCH/DELETE with a tenant); null on a response the ledger does not audit.


sealCommitment: string | null

Defined in: src/types/compliance.ts:299

x-osfkb-seal-commitment — on a sealing request, the commitment the ledger computed.