Field Reviews

Propose a correction to a captured field

Changed on

Send 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.

post/v1/field-reviews/{docId}/{fieldKey}/reopen

Request

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

Path parameters

docId, string uuid required

The pipeline document id (pipeline_document_id).

fieldKey, string required

Headers

Idempotency-Key, string

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

FieldReviewReopenInput required
proposed_value, string

The proposed value; a number is accepted and stored as its text. Required unless clear is true.

clear, boolean

Propose clearing the field.

evidence_quote, string

The document passage the proposal rests on, copied verbatim.

source, 'app' | 'human'

Who proposes: an app acting on a person's correction, or a person.

app_slug, string

The proposing app, for example contracts, shown to the reviewer. Kept only with source app.

reason, string required

Why the captured value is wrong.

Response

The field state after the call.

FieldReviewReopenResult required

The field state after the call; property names are camelCase.

fieldKey, string
status, 'progressing' | 'blocked' | 'waiting_dependency' | 'pending_review' | 'completed'
currentPhaseId, string nullable
blockedAtStageId, string nullable
blockedByField, string nullable
reviewTrigger, 'gate' | 'declarative' | 'pattern' | 'correction' | 'agentic' nullable
reviewRouting, 'review_queue' | 'hold' nullable
reviewRequestedAt, string date-time nullable
resolveAction, 'approve' | 'correct' | 'override' | 'demote' nullable
resolvedAt, string date-time nullable
deliveredAt, string date-time nullable
correctionProposal, FieldReviewCorrectionProposal nullable
reopened, boolean

True when the call moved a completed field into review; false when the field was already in review.

Changes