Skip to content

Variable: AUDIT_RESPONSE_HEADERS

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AUDIT_RESPONSE_HEADERS

const AUDIT_RESPONSE_HEADERS: object

Defined in: src/utils/audit-headers.ts:48

The x-osfkb-* response headers the audit ledger sets.

readonly auditError: "x-osfkb-audit-error" = 'x-osfkb-audit-error'

readonly auditRecord: "x-osfkb-audit-record" = 'x-osfkb-audit-record'

readonly sealCommitment: "x-osfkb-seal-commitment" = 'x-osfkb-seal-commitment'

  • 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 record auditRecord names does NOT exist.