records

Integrity-check an evidence record

Rebuilds the canonical JSON of {model, specVersion, inputs, outputs}, recomputes the SHA-256 and reports whether it matches. No engine run, no key.

post/api/v1/records/verify

Request

  • Base URL: https://worthune.com
  • URL: https://worthune.com/api/v1/records/verify
  • Auth: none required

Request body

modelstring required
specVersionstring required
inputsobject required
outputsobject required

Rebuilt by family: { projection, monteCarlo? } for household-projection, { decision } for decision-*.

sha256string required

Response

The check — ok is true whether or not the digest matched; read match.

okunknown required
matchboolean required
computedSha256string required
modelstring required
specVersionstring required
knownModelboolean required
currentSpecVersionstring

Present when the model is a catalog model.

specUrlstring
meaningstring required
signature'valid' | 'invalid' | 'unknown-key' | 'malformed' | 'absent' required

The sent signature checked against the published keys; absent when none was sent.

signatureMeaningstring required

Changes

No recorded changes to this operation across all 1 revision of this API.