Skip to main content

Correct Extraction Data

Submit human corrections to extracted values. The original extraction and provenance are preserved alongside the correction for a complete audit trail.

PATCH/v1/extractions/:id/data

Parameters

ParameterTypeRequiredDescription
idstring (path)YesThe extraction ID
correctionsarray (body)YesArray of cell corrections with row_index, field, and new_value

Example

curl -X PATCH https://api.talonic.com/v1/extractions/ext_abc123/data \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2" \
  -H "Content-Type: application/json" \
  -d '{
    "corrections": [
      {"row_index": 0, "field": "total_amount", "new_value": 1350.00}
    ]
  }'

Audit trail

Corrections preserve the original per-cell provenance alongside the new value. The correction record includes who made the change, when, and the original AI-extracted value. This supports DIN SPEC 91491 compliance.