Preview a document check
attestpage_preview_documentRead-onlyIdempotent
Use before paying for POST /v1/verify/document: send the same body, and get back the quote and link pairs it would check, what was skipped and why, the number of parts and the exact price. Nothing is fetched, signed or charged. Free. Free. Docs: https://vehcdj664efetfrsolne5umanq.srv.us/docs/verify-document
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | 0-based part to check, default 0; call POST /v1/verify/document/preview first to see how many parts there are. | |
| match | No | For every pair: exact; fuzzy (default), which also accepts small differences; or passages, for a paraphrased claim: the 3 passages that share most of its words, scored, as evidence for you to judge (not a verdict). With "passages", each sentence that carries a link is a claim. | |
| format | No | markdown (default) or text (only bare URLs and [n] references are links). | |
| document | Yes | The answer or report as written, 1 character to 60000 bytes (UTF-8). Its quotes and their links are found by fixed rules (extractor doc-v1). | |
| min_words | No | A quoted span with fewer words is skipped as too_short (default 4). | |
| part_size | No | Pairs per part, default 10. A free trial call needs 3 or fewer. | |
| threshold | No | Fuzzy similarity needed, default 0.9. | |
| case_sensitive | No | Default false; must be false with match "passages". |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | Yes | Each pair: pair, part, quote, url, doc_start/doc_end (code points in the document); doc_spans when the pair appears more than once (the first 20), with doc_spans_truncated counting the rest. | |
| parts | Yes | Paid calls needed to check every pair (part 0 to parts - 1). | |
| price | Yes | ||
| skipped | Yes | Each skipped item with its reason: no_url, bad_url, too_short, too_long or beyond_limit. The first 100 only. | |
| extractor | Yes | The fixed extraction rules used (doc-v1). | |
| part_size | No | ||
| pairs_total | Yes | ||
| limit_reached | No | ||
| skipped_counts | No | Every skipped item counted by reason. | |
| document_sha256 | Yes | SHA-256 of the document as sent (UTF-8); the paid route signs the same value. | |
| skipped_truncated | No | Skipped items left out of skipped. |