Interface: AuditResponseHeaders
@kortexya/reasoninglayer / AuditResponseHeaders
Interface: AuditResponseHeaders
Section titled “Interface: AuditResponseHeaders”Defined in: src/types/compliance.ts:291
The audit ledger’s x-osfkb-* response headers, as readAuditHeaders
reads them.
Remarks
Section titled “Remarks”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.
Properties
Section titled “Properties”auditError
Section titled “auditError”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
Section titled “auditRecord”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
Section titled “sealCommitment”sealCommitment:
string|null
Defined in: src/types/compliance.ts:299
x-osfkb-seal-commitment — on a sealing request, the commitment the ledger computed.