Variable: AUDIT_RESPONSE_HEADERS
@kortexya/reasoninglayer / AUDIT_RESPONSE_HEADERS
Variable: AUDIT_RESPONSE_HEADERS
Section titled “Variable: AUDIT_RESPONSE_HEADERS”
constAUDIT_RESPONSE_HEADERS:object
Defined in: src/utils/audit-headers.ts:48
The x-osfkb-* response headers the audit ledger sets.
Type Declaration
Section titled “Type Declaration”auditError
Section titled “auditError”
readonlyauditError:"x-osfkb-audit-error"='x-osfkb-audit-error'
auditRecord
Section titled “auditRecord”
readonlyauditRecord:"x-osfkb-audit-record"='x-osfkb-audit-record'
sealCommitment
Section titled “sealCommitment”
readonlysealCommitment:"x-osfkb-seal-commitment"='x-osfkb-seal-commitment'
Remarks
Section titled “Remarks”auditRecord— the id of the record this request produced. Set on every audited response, with or without causal request headers.sealCommitment— on a sealing request, the commitment the ledger computed.auditError— the ledger append of a causal request failed after the handler ran; the recordauditRecordnames does NOT exist.