Contract Desk

The passage a document's value was read from

Changed on

For a value item and one of the documents its question lists (question.documents of GET /v1/contract-desk/items/{id}/decision): the passage of that document its value was read from, and the page the passage stands on. A value is often written in another form than the document prints it (a date, a number, yes or no), so a viewer marks the passage, not the value. Contract Check reads it on demand from that one document's row. Both fields are null when no passage of the document backs the value: a schema default, a value held for review, a value read without a quote, or a quote that stands in another document. Requires scope read.

get/v1/contract-desk/items/{id}/passage

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

The item id (ContractDeskItem.id) of a value item.

Query parameters

document_id, string uuid required

A document the item's question lists (question.documents[].document_id).

Response

The passage.

ContractDeskPassage required

The passage one document's value of a value item was read from. Both fields are null when no passage of the document backs the value.

quote, string nullable

The passage's text as the document holds it, trimmed; past the configured length (2000 characters by default) only its beginning, with truncated true.

page, integer nullable

The page of the document the passage stands on, counted from 1; null when it is not known.

truncated, boolean

True when quote is only the beginning of a longer passage.

Changes