Re-Extract Document
Re-run the extraction pipeline on an existing document without re-uploading the file. Use this to apply a new schema or updated instructions to a previously processed document.
POST
/v1/documents/:id/re-extractParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string (path) | Yes | The document ID to re-extract |
| schema | string (JSON) | No | New inline schema for extraction |
| schema_id | string | No | New schema ID reference |
| instructions | string | No | Updated extraction instructions |
Example
curl -X POST https://api.talonic.com/v1/documents/doc_xyz789/re-extract \
-H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2" \
-H "Content-Type: application/json" \
-d '{"schema_id": "sch_abc123"}'Behavior
Re-extraction creates a new extraction and job. The original extraction is preserved. The four-phase pipeline runs again with the new schema, producing fresh per-cell provenance. Use this after updating a schema or adjusting the confidence gate. See schema formats for format options.