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

Documentation menu

Engine import API

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

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

List imports

GET /admin/v1/migrate/imports

Needs the permission: config:history.

Response 200

Response fields of List imports
FieldTypePresenceDescription
importsanyoptional-
translation_availableanyoptional-
Example response (synthetic data)
{
  "imports": {},
  "translation_available": {}
}

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/migrate/imports"

Create import

POST /admin/v1/migrate/imports

Needs the permission: config:write.

Parameters

Parameters of Create import
NameInTypePresenceDescription
enginequerystringoptional-
namequerystringoptional-

Request body

Example request body (synthetic data)
{}

Response 201

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 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/migrate/imports"

Get import

GET /admin/v1/migrate/imports/{id}

Needs the permission: config:history.

Parameters

Parameters of Get import
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Example response (synthetic data)
{}

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/migrate/imports/example-id"

Cancel import

POST /admin/v1/migrate/imports/{id}/cancel

Needs the permission: config:write.

Parameters

Parameters of Cancel import
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Cancel import
FieldTypePresenceDescription
versionintegeroptional-
Example request body (synthetic data)
{
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 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 '{"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/migrate/imports/example-id/cancel"

Translate import

POST /admin/v1/migrate/imports/{id}/translate

Needs the permission: config:write.

Parameters

Parameters of Translate import
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Translate import
FieldTypePresenceDescription
max_roundsintegeroptional-
parallel_runstringoptional-
scriptsarray of stringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "max_rounds": 1,
  "parallel_run": "example",
  "scripts": [
    "example"
  ],
  "version": 1
}

Response 202

Example response (synthetic data)
{}

Other responses

  • 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 '{"max_rounds":1,"parallel_run":"example","scripts":["example"],"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/migrate/imports/example-id/translate"

Replaces a draft parallel run's candidate and destination map (validated like a new run's)

PUT /admin/v1/parallel-runs/{id}/candidate

Replaces a draft parallel run's candidate and destination map (validated like a new run's).

Needs the permission: dlq:retransmit.

Parameters

Parameters of Replaces a draft parallel run's candidate and destination map (validated like a new run's)
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Replaces a draft parallel run's candidate and destination map (validated like a new run's)
FieldTypePresenceDescription
candidateobject (ParallelrunCandidate)optionalCandidate is a configuration to test: the live configuration (or the configuration as it was at a moment) with changes applied on top, never written to the live configuration.
candidate.basestringoptionalBase is "live" (the current configuration) or an RFC 3339 time (the configuration as of then). Empty means live.
candidate.changesarray of object (ParallelrunCandidateChange)optionalChanges are applied over the base: entities of the versioned configuration (route, code_map, code_set, provider_directory, script). A script change carries a draft only: its active version is always the base's (activation needs scripts:activate and passing samples, never a candidate).
candidate.draft_scriptsarray of stringoptionalDraftScripts are scripts whose draft (the base's, or the one in Changes) the replay runs in place of their active version, so a translated or edited script is compared before anyone activates it. Nothing is activated or stored in the live configuration.
reasonstringoptional-
routesmap of stringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "candidate": {
    "base": "example",
    "changes": [
      {
        "deleted": true,
        "document": {},
        "id": "example-id",
        "kind": "example"
      }
    ],
    "draft_scripts": [
      "example"
    ]
  },
  "reason": "Example text",
  "routes": {
    "example": "example"
  },
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request PUT \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"candidate":{"base":"example","changes":[{"deleted":true,"document":{},"id":"example-id","kind":"example"}],"draft_scripts":["example"]},"reason":"Example text","routes":{"example":"example"},"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/candidate"

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