Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Datamigration API

Last updated . Documentation for the current release. Ask in the product.

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

Response fields of Lists the tenant's data migration projects (at most 200) with their phase and counts
FieldTypePresenceDescription
projectsanyoptional-
Example response (synthetic data)
{
  "projects": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Example request body (synthetic data)
{}

Response 201

Response fields of Starts a data migration project from a name (at most 120 characters) and a source
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Get migration
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Get migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Update migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Update migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Approve migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Approve migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Cancel
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Cancel
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Discover migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Discover migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 413 Request Entity Too Large
  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Unavailable (nothing was changed)
  • 504 Gateway Timeout
Example request
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

Parameters of 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
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of 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
FieldTypePresenceDescription
columnsanyoptional-
countsanyoptional-
projectobject (MigrationJSON)optional-
project.approved_atstring (date-time)optional-
project.approved_bystringoptional-
project.approved_versionintegeroptional-
project.cataloganyoptional-
project.completed_atstring (date-time)optional-
project.created_atstring (date-time)optional-
project.created_bystringoptional-
project.dry_runanyoptional-
project.dry_run_versionintegeroptional-
project.error_codestringoptional-
project.error_textstringoptional-
project.idstringoptional-
project.namestringoptional-
project.nextstringoptionalNext is the step the project needs next, in plain language.
project.passintegeroptional-
project.profileanyoptional-
project.profile_versionintegeroptional-
project.progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
project.report_sha256stringoptional-
project.run_versionintegeroptional-
project.signed_off_atstring (date-time)optional-
project.signed_off_bystringoptional-
project.specanyoptional-
project.started_atstring (date-time)optional-
project.started_bystringoptional-
project.statusstringoptional-
project.updated_atstring (date-time)optional-
project.versionintegeroptional-
samplesanyoptional-
values_shownanyoptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 502 Bad Gateway
  • 503 Unavailable (nothing was changed)
  • 504 Gateway Timeout
Example request
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

Parameters of Upload migration file
NameInTypePresenceDescription
idpathstringrequired-
tablequerystringoptional-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Upload migration file
FieldTypePresenceDescription
detectionanyoptional-
projectobject (MigrationJSON)optional-
project.approved_atstring (date-time)optional-
project.approved_bystringoptional-
project.approved_versionintegeroptional-
project.cataloganyoptional-
project.completed_atstring (date-time)optional-
project.created_atstring (date-time)optional-
project.created_bystringoptional-
project.dry_runanyoptional-
project.dry_run_versionintegeroptional-
project.error_codestringoptional-
project.error_textstringoptional-
project.idstringoptional-
project.namestringoptional-
project.nextstringoptionalNext is the step the project needs next, in plain language.
project.passintegeroptional-
project.profileanyoptional-
project.profile_versionintegeroptional-
project.progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
project.report_sha256stringoptional-
project.run_versionintegeroptional-
project.signed_off_atstring (date-time)optional-
project.signed_off_bystringoptional-
project.specanyoptional-
project.started_atstring (date-time)optional-
project.started_bystringoptional-
project.statusstringoptional-
project.updated_atstring (date-time)optional-
project.versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 413 Request Entity Too Large
  • 422 Unprocessable (invalid configuration or input)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Pause
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Pause
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Profile migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Profile migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 502 Bad Gateway
  • 503 Unavailable (nothing was changed)
  • 504 Gateway Timeout
Example request
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

Parameters of 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...
NameInTypePresenceDescription
idpathstringrequired-
afterquerystringoptional-
limitquerystringoptional-
reasonquerystringoptional-

Response 200

Response fields of 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...
FieldTypePresenceDescription
keys_shownanyoptional-
nextanyoptional-
passanyoptional-
rejectsanyoptional-
Example response (synthetic data)
{
  "keys_shown": {},
  "next": {},
  "pass": {},
  "rejects": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Migration rejects c s v
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Migration report
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Example response (synthetic data)
{
  "report": {},
  "report_sha256": {},
  "signed_off": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Resume
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Resume
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Sign off migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Sign off migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Start migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Start migration
FieldTypePresenceDescription
approved_atstring (date-time)optional-
approved_bystringoptional-
approved_versionintegeroptional-
cataloganyoptional-
completed_atstring (date-time)optional-
created_atstring (date-time)optional-
created_bystringoptional-
dry_runanyoptional-
dry_run_versionintegeroptional-
error_codestringoptional-
error_textstringoptional-
idstringoptional-
namestringoptional-
nextstringoptionalNext is the step the project needs next, in plain language.
passintegeroptional-
profileanyoptional-
profile_versionintegeroptional-
progressobject (DatamigrationProgress)optionalProgress is a pass's durable state, saved after every batch.
progress.countsobject (DatamigrationCounts)optionalCounts 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.cursorobject (DatamigrationCursor)optionalCursor is where a run resumes: after the last root key read (database) or after a line (files).
progress.donebooleanoptional-
progress.file_statsobject (DatamigrationFileStats)optionalFileStats accounts for every physical line of a file.
report_sha256stringoptional-
run_versionintegeroptional-
signed_off_atstring (date-time)optional-
signed_off_bystringoptional-
specanyoptional-
started_atstring (date-time)optional-
started_bystringoptional-
statusstringoptional-
updated_atstring (date-time)optional-
versionintegeroptional-
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Suggest migration
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Suggest migration
FieldTypePresenceDescription
matchesarray of object (SuggestMatch)optional-
matches.[]columnstringoptional-
matches.[]fieldstringoptional-
matches.[]whystringoptional-
notestringoptional-
specobject (DatamigrationSpec)optionalSpec 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.entityobject (DatamigrationEntity)optionalEntity 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.excludearray of object (DatamigrationCondition)optional-
spec.mappingobject (ConfigRowMapping)optionalMapping turns a cleaned record into the target record: the Database Reader's row mapping (hl7v2 template, fhir JSON template, csv).
spec.rulesarray of object (DatamigrationRule)optional-
spec.sourceobject (DatamigrationSource)optionalSource is where the records come from.
spec.targetobject (DatamigrationTarget)optionalTarget 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.throttleobject (DatamigrationThrottle)optionalThrottle protects the source.
Example response (synthetic data)
{
  "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

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
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.