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

Documentation menu

Datamigration sources API

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

6 operations. Back to the API overview. Examples use synthetic data.

Fetch migration file

POST /admin/v1/data-migrations/{id}/fetch

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 Fetch migration file
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 202

Response fields of Fetch migration file
FieldTypePresenceDescription
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-
stagedobject (StagedJSON)optional-
staged.errorstringoptional-
staged.error_codestringoptional-
staged.idstringoptional-
staged.originstringoptional-
staged.part_bytesintegeroptional-
staged.receivedintegeroptional-
staged.sha256stringoptional-
staged.sizeintegeroptional-
staged.statestringoptional-
staged.tablestringoptional-
Example response (synthetic data)
{
  "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
  },
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

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/fetch"

Staged migration file

GET /admin/v1/data-migrations/{id}/staged/{sid}

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 Staged migration file
NameInTypePresenceDescription
idpathstringrequired-
sidpathstringrequired-

Response 200

Response fields of Staged migration file
FieldTypePresenceDescription
stagedobject (StagedJSON)optional-
staged.errorstringoptional-
staged.error_codestringoptional-
staged.idstringoptional-
staged.originstringoptional-
staged.part_bytesintegeroptional-
staged.receivedintegeroptional-
staged.sha256stringoptional-
staged.sizeintegeroptional-
staged.statestringoptional-
staged.tablestringoptional-
Example response (synthetic data)
{
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

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/staged/example-sid"

Cancel staged file

POST /admin/v1/data-migrations/{id}/staged/{sid}/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 staged file
NameInTypePresenceDescription
idpathstringrequired-
sidpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Cancel staged file
FieldTypePresenceDescription
stagedobject (StagedJSON)optional-
staged.errorstringoptional-
staged.error_codestringoptional-
staged.idstringoptional-
staged.originstringoptional-
staged.part_bytesintegeroptional-
staged.receivedintegeroptional-
staged.sha256stringoptional-
staged.sizeintegeroptional-
staged.statestringoptional-
staged.tablestringoptional-
Example response (synthetic data)
{
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

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/staged/example-sid/cancel"

Use staged file

POST /admin/v1/data-migrations/{id}/staged/{sid}/use

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 Use staged file
NameInTypePresenceDescription
idpathstringrequired-
sidpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Use staged 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-
stagedobject (StagedJSON)optional-
staged.errorstringoptional-
staged.error_codestringoptional-
staged.idstringoptional-
staged.originstringoptional-
staged.part_bytesintegeroptional-
staged.receivedintegeroptional-
staged.sha256stringoptional-
staged.sizeintegeroptional-
staged.statestringoptional-
staged.tablestringoptional-
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
  },
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

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/staged/example-sid/use"

Start migration upload

POST /admin/v1/data-migrations/{id}/uploads

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 upload
NameInTypePresenceDescription
idpathstringrequired-
sizequerystringoptional-
tablequerystringoptional-

Request body

Example request body (synthetic data)
{}

Response 201

Response fields of Start migration upload
FieldTypePresenceDescription
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-
stagedobject (StagedJSON)optional-
staged.errorstringoptional-
staged.error_codestringoptional-
staged.idstringoptional-
staged.originstringoptional-
staged.part_bytesintegeroptional-
staged.receivedintegeroptional-
staged.sha256stringoptional-
staged.sizeintegeroptional-
staged.statestringoptional-
staged.tablestringoptional-
Example response (synthetic data)
{
  "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
  },
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

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/uploads"

Migration upload part

PUT /admin/v1/data-migrations/{id}/uploads/{sid}

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 upload part
NameInTypePresenceDescription
idpathstringrequired-
sidpathstringrequired-
offsetquerystringoptional-

Request body

Example request body (synthetic data)
{}

Response 200

Example response (synthetic data)
{
  "staged": {
    "error": "Example text",
    "error_code": "Example text",
    "id": "example-id",
    "origin": "example",
    "part_bytes": 1,
    "received": 1,
    "sha256": "example",
    "size": 1,
    "state": "ok",
    "table": "example"
  }
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 422 Unprocessable (invalid configuration or input)
  • 502 Bad Gateway
  • 503 Unavailable (nothing was changed)
  • 504 Gateway Timeout
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/uploads/example-sid"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.