Run a Domain
Run entity resolution for the vendors, customers or materials domain: read every source read-only, resolve golden records, and replace the stored records.
POST /v1/master-records/{domain}/run reads every configured source of the domain read-only, resolves the rows into golden records, and replaces the domain's stored records in one transaction. The call is synchronous and returns 201 with the run id and its statistics. Accept and split decisions are applied. A run replaces the domain whole: the workspace holds only the latest run of a domain, and there are no partial runs.
A source that returns more rows than the configured cap fails the run instead of resolving a partial master. The cap is 200000 rows per source by default. The resolution links only rows of different sources, so two rows of one source never merge. Run the domain again after the source data changes; the stored records do not follow the source systems by themselves.
/v1/master-records/{domain}/runPath parameters
Response fields
cURL: Run the vendors domain
curl -X POST "https://api.talonic.com/v1/master-records/vendors/run" \
-H "Authorization: Bearer $TALONIC_API_KEY"Response: 201 Run and statistics
{
"run_id": "5b1d7f93-2c4e-4a68-8e0f-3d9a1c6b7e25",
"stats": {
"source_rows": 2444,
"records": 2108,
"multi_source": 301,
"auto_merged": 262,
"to_review": 39,
"conflicts": 44,
"bad_conflicts": 7,
"per_source": { "ERP-A": 1380, "ERP-B": 1064 },
"pairs_compared": 9120,
"resolve_ms": 84
}
}Run Errors
A run that cannot proceed stores nothing. 400 means a source query is not read-only, lacks the required columns, or returns more rows than the cap. 404 means the domain is unknown. 422 means no sources are configured for the domain. Failures of the connection itself, such as an unreachable host, are reported as errors of the run and are not part of this documented contract.