Docs
Migration Validation Tool
Reconcile source and target CSVs by a key column.
Docs
Reconcile source and target CSVs by a key column.
Reconciles two CSVs by a key: matched count, only-in-source, only-in-target, per-field diffs.
POST /api/v1/tools/migration-validate
Reconcile source and target CSVs by a key column: matched count, only-in-source, only-in-target, and per-field diffs.
Returns: Matched/only-in-source/only-in-target counts, and a per-field diff of mismatched values.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source |
string | Yes | — | The source CSV text. |
target |
string | Yes | — | The target CSV text. |
srcKey |
string | No | — | Column name to use as the key in the source. Defaults to the first header. |
tgtKey |
string | No | — | Column name to use as the key in the target. Defaults to the first header. |
mode |
string (trim|smart) | No | — | Comparison mode: trim (whitespace-insensitive) or smart (also normalize case/quotes). |
curl -X POST https://data-migration-tools.com/api/v1/tools/migration-validate \
-H "Content-Type: application/json" \
-d '{"source":"id,name\n1,Ada\n2,Grace","target":"id,name\n1,Ada\n3,Mary"}'
See the full API reference for all examples and error codes.