Propose a correction to a captured field
Changed onSend an Idempotency-Key so a retry returns the first response and never applies the decision twice. Re-opens a captured field for review with a proposed value. The value in the output does not change and no hold cell is written; it changes only when a reviewer resolves the item (accept_proposal promotes the proposed value as a human correction). A completed field moves to pending_review with review_trigger: correction. A field already in review keeps its hold and gains the proposal; proposing the same value again changes nothing and returns reopened: false. A field still progressing or waiting_dependency answers 409. proposed_value is required unless clear is true. App keys. Admitted by a spec grant at act covering the Spec the item's run structures. Requires the write scope.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
The pipeline document id (pipeline_document_id).
Headers
Unique key for idempotent requests, at most 64 characters (a longer key is refused with 400 invalid_idempotency_key before any work). A retry with the same key, request and API key within 24 hours returns the first response with Idempotent-Replayed: true; the same key on a different request or from another API key answers 422 idempotency_key_reused. On POST /v1/extract the key caches the extraction result for the workspace instead: any key of the workspace sending it gets that result with cached: true.
Request body
The proposed value; a number is accepted and stored as its text. Required unless clear is true.
Propose clearing the field.
The document passage the proposal rests on, copied verbatim.
Who proposes: an app acting on a person's correction, or a person.
The proposing app, for example contracts, shown to the reviewer. Kept only with source app.
Why the captured value is wrong.
Response
The field state after the call.
The field state after the call; property names are camelCase.
True when the call moved a completed field into review; false when the field was already in review.
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key
- info
- info
endpoint added
- info