---
title: "Text Redline Workbench & Diff Receipt"
method: POST
path: "/v1/tools/build_redline_diff_receipt"
tags: ["redline", "diff", "text", "markdown", "receipt", "disposition", "tamper-evident", "eddsa", "zero-PII"]
---

# Text Redline Workbench & Diff Receipt

`POST /v1/tools/build_redline_diff_receipt`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/build_redline_diff_receipt`
- Auth: none declared

Deterministic line-level redline between an original and revised text or markdown document, with a cryptographic diff receipt (original/revised digests, diff-algorithm identifier, per-hunk digests, reviewer key, eddsa signature) and a hash-chained per-hunk accept/reject/comment disposition chain binding a replayable accepted-text digest. Built-in verifier recomputes the redline from a pasted receipt bundle and flags the exact hunk on any divergence. Paste-mode. Zero egress. Zero PII.

**Tool URL:** https://ainumbers.co/tools/552-text-redline-workbench.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `original` string, required: Original text or markdown document
  - `revised` string, required: Revised text or markdown document

## Response `200`

Successful tool execution result

- object
  - `diff_receipt` object, required: original_digest, revised_digest, diff_algorithm, hunk_digests, execution_hash, audit_signature (eddsa)
  - `hunk_receipts` unknown[], required: One hash-chained receipt per hunk: hunk_digest, disposition, prev_hunk_receipt_digest, execution_hash
    - unknown
  - `disposition_receipt` object, required: Closing receipt binding the accepted_text_digest, replayable from original + accepted hunks

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
