Extractions

Correct extracted field values

Alias of PATCH /v1/extractions/{id}/data, with identical semantics. Overrides field values on an extraction (each set to confidence 1.0 and locked) by writing new value-plane cell versions under the cell-write authority guard; fields the guard withholds come back in cells_skipped and are left unchanged. Body is a flat map of field name to corrected value. Requires write scope.

post/v1/extractions/{id}/correct

Request

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

Path parameters

id, string uuid required

Request body

object required

Map of field name → corrected value.

Response

Updated extraction, with the value-plane correction outcome.

ExtractionCorrectionResponse required

An extraction, plus what the correction did in the value plane. The top-level shape is unchanged from ExtractionResponse; the three correction fields are additive.

object
value_plane, 'written' | 'not_migrated' required

written — the corrections landed as new value-plane cell versions. not_migrated — the document has no capture-layer record yet, so the correction was applied to the legacy extraction JSONB only.

cells_written, string[] required

Field names that became new value-plane cell versions.

cells_skipped, object[] required

Fields the central cell-write authority guard withheld. A value promoted by review (human_review, auto_adjudication, agentic_review) outranks a machine correction, and a cell held for approval stays held. A withheld field is not applied to the extraction data either — it keeps its previous value everywhere.

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "completed",
  "document": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "filename": "invoice-042.pdf"
  },
  "processing": {
    "region": "eu-west"
  },
  "created_at": "2026-04-25T14:30:00.000Z"
}

Changes

No recorded changes to this operation across all 32 revisions of this API.