Edit a matching configuration
Changed onChanges a saved matching configuration in place: name, target, reference table, field mappings or threshold. Only the fields sent change; the next run uses them, earlier runs keep their results. The same change the matching editor in the app saves.
Requires the records:write scope. The person behind the credential must hold the workspace workspace permission, and the workspace must manage its own model configuration; otherwise 403 insufficient_role. Send Idempotency-Key to make a retry return the first response instead of applying the change again.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
Resource UUID.
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
Fields to change; omitted fields keep their value.
{ "run_id": "<uuid>" } or { "document_ids": ["<uuid>", ...] } (at most 20,000 ids).
Reference table to match against; null unlinks it.
Response
Matching configuration updated.
Target identifier payload (e.g. run_id, schema_id).
Auto-accept confidence threshold.
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Supplier lookup",
"reference_data_id": "b8c9d0e1-f2a3-4567-bcde-678901234567",
"target_type": "run",
"field_mappings": [
{
"extracted_field": "vendor_name",
"reference_column": "supplier_legal_name",
"match_type": "exact",
"weight": 0.6
}
],
"threshold": 0.85,
"created_at": "2026-04-25T14:30:00.000Z",
"updated_at": "2026-04-25T14:30:00.000Z"
}Changes
- info
endpoint added
- info