POST /execute. This guide covers triggering them independently afterward.
Trigger a new verification
POST /verify re-hashes the trust record via VerificationCrypto.verify() (see Packages → crypto) and appends a new Verification — it doesn’t replace the previous one. Read the whole history back with GET /trust-records/:id.
Generate a Receipt
ReceiptService.generate() requires trustRecord.verifications.at(-1).status === VERIFIED — if the most recent Verification failed (or none exists yet), Receipt generation throws ReceiptGenerationError rather than producing a Receipt. If you need a Receipt after a failed verification, call POST /verify again first to produce a new, successful Verification.
Reading a Receipt back later
examples/05-verification’s run.ts is currently an unimplemented stub (console.log("Parmana Example 05 - Verification")) — there’s no runnable example for this flow yet in the monorepo. This guide is grounded directly in packages/runtime/src/services/verification-service.ts and receipt-service.ts.Related
Verify (REST API)
Full endpoint reference.
Receipt (REST API)
Full endpoint reference.
Security Model
What the hash and signature actually guarantee.
Deterministic Replay
A related but distinct integrity check.