Datamigration API
18 operations. Back to the API overview. Examples use synthetic data.
Lists the tenant's data migration projects (at most 200) with their phase and counts
GET /admin/v1/data-migrations
Lists the tenant's data migration projects (at most 200) with their phase and counts.
Needs the permission: transactions:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
projects | any | optional | - |
{
"projects": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations"Starts a data migration project from a name (at most 120 characters) and a source
POST /admin/v1/data-migrations
Starts a data migration project from a name (at most 120 characters) and a source: a database connection or exported files. Files are added afterwards by upload or fetch; the source is validated before anything is stored.
Needs the permission: config:write.
Request body
{}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations"Get migration
GET /admin/v1/data-migrations/{id}
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id"Update migration
PUT /admin/v1/data-migrations/{id}
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id"Approve migration
POST /admin/v1/data-migrations/{id}/approve
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/approve"Cancel
POST /admin/v1/data-migrations/{id}/cancel
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/cancel"Discover migration
POST /admin/v1/data-migrations/{id}/discover
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)413Request Entity Too Large500Internal Server Error502Bad Gateway503Unavailable (nothing was changed)504Gateway Timeout
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/discover"Runs the project's mapping and cleaning rules on a sample (20 records by default, at most 50) and returns each record before and after with its outcome
POST /admin/v1/data-migrations/{id}/dry-run
Runs the project's mapping and cleaning rules on a sample (20 records by default, at most 50) and returns each record before and after with its outcome; nothing is sent. Values are shown only to people with payload:read, and that view is audited as a PHI view before the source is read. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: payload:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
columns | any | optional | - |
counts | any | optional | - |
project | object (MigrationJSON) | optional | - |
project.approved_at | string (date-time) | optional | - |
project.approved_by | string | optional | - |
project.approved_version | integer | optional | - |
project.catalog | any | optional | - |
project.completed_at | string (date-time) | optional | - |
project.created_at | string (date-time) | optional | - |
project.created_by | string | optional | - |
project.dry_run | any | optional | - |
project.dry_run_version | integer | optional | - |
project.error_code | string | optional | - |
project.error_text | string | optional | - |
project.id | string | optional | - |
project.name | string | optional | - |
project.next | string | optional | Next is the step the project needs next, in plain language. |
project.pass | integer | optional | - |
project.profile | any | optional | - |
project.profile_version | integer | optional | - |
project.progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
project.report_sha256 | string | optional | - |
project.run_version | integer | optional | - |
project.signed_off_at | string (date-time) | optional | - |
project.signed_off_by | string | optional | - |
project.spec | any | optional | - |
project.started_at | string (date-time) | optional | - |
project.started_by | string | optional | - |
project.status | string | optional | - |
project.updated_at | string (date-time) | optional | - |
project.version | integer | optional | - |
samples | any | optional | - |
values_shown | any | optional | - |
{
"columns": {},
"counts": {},
"project": {
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
},
"samples": {},
"values_shown": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)502Bad Gateway503Unavailable (nothing was changed)504Gateway Timeout
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/dry-run"Upload migration file
POST /admin/v1/data-migrations/{id}/files
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
table | query | string | optional | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
detection | any | optional | - |
project | object (MigrationJSON) | optional | - |
project.approved_at | string (date-time) | optional | - |
project.approved_by | string | optional | - |
project.approved_version | integer | optional | - |
project.catalog | any | optional | - |
project.completed_at | string (date-time) | optional | - |
project.created_at | string (date-time) | optional | - |
project.created_by | string | optional | - |
project.dry_run | any | optional | - |
project.dry_run_version | integer | optional | - |
project.error_code | string | optional | - |
project.error_text | string | optional | - |
project.id | string | optional | - |
project.name | string | optional | - |
project.next | string | optional | Next is the step the project needs next, in plain language. |
project.pass | integer | optional | - |
project.profile | any | optional | - |
project.profile_version | integer | optional | - |
project.progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
project.report_sha256 | string | optional | - |
project.run_version | integer | optional | - |
project.signed_off_at | string (date-time) | optional | - |
project.signed_off_by | string | optional | - |
project.spec | any | optional | - |
project.started_at | string (date-time) | optional | - |
project.started_by | string | optional | - |
project.status | string | optional | - |
project.updated_at | string (date-time) | optional | - |
project.version | integer | optional | - |
{
"detection": {},
"project": {
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)413Request Entity Too Large422Unprocessable (invalid configuration or input)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/files"Pause
POST /admin/v1/data-migrations/{id}/pause
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/pause"Profile migration
POST /admin/v1/data-migrations/{id}/profile
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)502Bad Gateway503Unavailable (nothing was changed)504Gateway Timeout
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/profile"Lists the records the migration rejected (reason, rule, column and source line), 100 by default and at most 500 per page, filtered by reason and paged with a...
GET /admin/v1/data-migrations/{id}/rejects
Lists the records the migration rejected (reason, rule, column and source line), 100 by default and at most 500 per page, filtered by reason and paged with after. Record keys are masked unless the reader has payload:read. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Needs the permission: payload:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
after | query | string | optional | - |
limit | query | string | optional | - |
reason | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
keys_shown | any | optional | - |
next | any | optional | - |
pass | any | optional | - |
rejects | any | optional | - |
{
"keys_shown": {},
"next": {},
"pass": {},
"rejects": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/rejects"Migration rejects c s v
GET /admin/v1/data-migrations/{id}/rejects.csv
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/rejects.csv"Migration report
GET /admin/v1/data-migrations/{id}/report
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{
"report": {},
"report_sha256": {},
"signed_off": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/report"Resume
POST /admin/v1/data-migrations/{id}/resume
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/resume"Sign off migration
POST /admin/v1/data-migrations/{id}/sign-off
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/sign-off"Start migration
POST /admin/v1/data-migrations/{id}/start
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
approved_at | string (date-time) | optional | - |
approved_by | string | optional | - |
approved_version | integer | optional | - |
catalog | any | optional | - |
completed_at | string (date-time) | optional | - |
created_at | string (date-time) | optional | - |
created_by | string | optional | - |
dry_run | any | optional | - |
dry_run_version | integer | optional | - |
error_code | string | optional | - |
error_text | string | optional | - |
id | string | optional | - |
name | string | optional | - |
next | string | optional | Next is the step the project needs next, in plain language. |
pass | integer | optional | - |
profile | any | optional | - |
profile_version | integer | optional | - |
progress | object (DatamigrationProgress) | optional | Progress is a pass's durable state, saved after every batch. |
progress.counts | object (DatamigrationCounts) | optional | Counts accounts for every record read in a pass. The checksums are sums (mod 2^64) of the records' checksum parts: Read = Migrated + Already + Rejected + Excluded, for counts and checksums alike. |
progress.cursor | object (DatamigrationCursor) | optional | Cursor is where a run resumes: after the last root key read (database) or after a line (files). |
progress.done | boolean | optional | - |
progress.file_stats | object (DatamigrationFileStats) | optional | FileStats accounts for every physical line of a file. |
report_sha256 | string | optional | - |
run_version | integer | optional | - |
signed_off_at | string (date-time) | optional | - |
signed_off_by | string | optional | - |
spec | any | optional | - |
started_at | string (date-time) | optional | - |
started_by | string | optional | - |
status | string | optional | - |
updated_at | string (date-time) | optional | - |
version | integer | optional | - |
{
"approved_at": "2026-01-15T14:30:00Z",
"approved_by": "example",
"approved_version": 1,
"catalog": {},
"completed_at": "2026-01-15T14:30:00Z",
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"dry_run": {},
"dry_run_version": 1,
"error_code": "Example text",
"error_text": "Example text",
"id": "example-id",
"name": "example-name",
"next": "example",
"pass": 1,
"profile": {},
"profile_version": 1,
"progress": {
"counts": {
"already_migrated": 1,
"excluded": 1,
"excluded_sum": "example",
"exclusions": {
"example": 1
},
"lines": 1,
"migrated": 1,
"migrated_sum": "example",
"optional_orphans": 1,
"read": 1,
"read_sum": "example",
"reasons": {
"example": 1
},
"rejected": 1,
"rejected_sum": "example",
"rule_changes": {
"example": 1
}
},
"cursor": {
"key": "example",
"line": 1,
"set": true,
"type": "example"
},
"done": true,
"file_stats": {
"blank_lines": 1,
"header_lines": 1,
"lines": 1,
"records": 1,
"skipped_lines": 1
}
},
"report_sha256": "example",
"run_version": 1,
"signed_off_at": "2026-01-15T14:30:00Z",
"signed_off_by": "example",
"spec": {},
"started_at": "2026-01-15T14:30:00Z",
"started_by": "example",
"status": "ok",
"updated_at": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/start"Suggest migration
POST /admin/v1/data-migrations/{id}/suggest
A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
matches | array of object (SuggestMatch) | optional | - |
matches.[]column | string | optional | - |
matches.[]field | string | optional | - |
matches.[]why | string | optional | - |
note | string | optional | - |
spec | object (DatamigrationSpec) | optional | Spec is a migration project's definition. Every change makes a new version; a run uses one approved version, and its rules never change during the run. |
spec.entity | object (DatamigrationEntity) | optional | Entity is what one target record is made of: a row of the root table and, for each join, at most one row of a related table (many-to-one: the joined column is the related table's unique key). |
spec.exclude | array of object (DatamigrationCondition) | optional | - |
spec.mapping | object (ConfigRowMapping) | optional | Mapping turns a cleaned record into the target record: the Database Reader's row mapping (hl7v2 template, fhir JSON template, csv). |
spec.rules | array of object (DatamigrationRule) | optional | - |
spec.source | object (DatamigrationSource) | optional | Source is where the records come from. |
spec.target | object (DatamigrationTarget) | optional | Target is where migrated records go: they are messages of SenderID, sent to Route (an existing route and its destinations: FHIR server, HL7 v2, files, a database, object storage). |
spec.throttle | object (DatamigrationThrottle) | optional | Throttle protects the source. |
{
"matches": [
{
"column": "example",
"field": "example",
"why": "example"
}
],
"note": "example",
"spec": {
"entity": {
"columns": [
"example"
],
"joins": [
{}
],
"key": "example",
"table": "example"
},
"exclude": [
{
"column": "example",
"id": "example-id",
"op": "example",
"values": []
}
],
"mapping": {
"aggregate": true,
"format": "example",
"json_template": {},
"template": "example"
},
"rules": [
{
"column": "example",
"formats": [],
"id": "example-id",
"map": "example",
"max": 1,
"op": "example",
"pattern": "example",
"system": "example",
"to": "example",
"values": []
}
],
"source": {
"database": {
"bridge": {},
"conn_max_lifetime_seconds": 1,
"database": "example",
"driver": "example",
"host": "host.example.org",
"max_idle_conns": 1,
"max_open_conns": 1,
"password_file": "example",
"port": 1,
"statement_timeout_seconds": 1,
"tls": {},
"user": "example"
},
"files": [
{}
],
"kind": "example",
"ramp": {
"ramp": "example",
"source": "example"
}
},
"target": {
"allowed_messages": [
"Example text"
],
"route": "example",
"sender_id": "example-id"
},
"throttle": {
"batch_size": 1,
"rows_per_second": 1
}
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/data-migrations/example-id/suggest"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.