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

Documentation menu

Parallelrun API

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

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

List runs

GET /admin/v1/parallel-runs

Needs the permission: transactions:read.

Response 200

Response fields of List runs
FieldTypePresenceDescription
runsanyoptional-
Example response (synthetic data)
{
  "runs": {}
}

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/parallel-runs"

Create run

POST /admin/v1/parallel-runs

Needs the permission: dlq:retransmit.

Request body

Request body of Create run
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.
gateobject (ParallelrunGate)optionalGate is the cut-over criterion the operator sets on a run.
gate.min_match_ratenumberoptionalMinMatchRate is the lowest acceptable match rate in percent (default 100).
gate.requiredbooleanoptionalRequired records that cut-over waits for this run's sign-off.
namestringoptional-
routesmap of stringoptional-
rulesobject (ParallelrunRules)optionalRules control what the differs treat as equal. The zero value plus the defaults (Effective) is what a run uses unless the operator says otherwise; the effective rules are stored with the run.
rules.ignore_pathsarray of stringoptionalIgnorePaths are paths whose differences are not reported. HL7 v2: "MSH-7", "PID-3[].4", "OBX-5.1", "ZPD" (a whole segment), "Z" (every Z-segment); an unspecified occurrence or repetition matches any. X12: "ISA", "GS-06", "ST-02". FHIR: an element name alone ("meta") matches at any depth; a dotted path ("Bundle.entry.fullUrl", "Patient.telecom", "*.text") matches that element and everything under it, indexes ignored.
rules.ignore_segment_orderbooleanoptionalIgnoreSegmentOrder skips the segment order check entirely.
rules.no_default_ignoresbooleanoptionalNoDefaultIgnores drops the default ignore list (DefaultIgnorePaths).
rules.ordered_arraysarray of stringoptionalOrderedArrays are FHIR element names whose array order is significant (default: given, prefix, suffix, line); every other array is compared as an unordered collection.
rules.strict_escapingbooleanoptionalStrictEscaping compares HL7 v2 values as encoded; by default escape sequences (\F\ \S\ \T\ \R\ \E\) are decoded first and MSH-1/MSH-2 are not compared, so different encoding characters or escaping of the same value are equal.
rules.strict_referencesbooleanoptionalStrictReferences compares FHIR urn:uuid: references literally; by default any urn:uuid: reference equals any other (generated IDs differ between engines; ignore Bundle.entry.fullUrl alongside).
rules.strict_trailingbooleanoptionalStrictTrailing reports trailing empty fields, repetitions, components and subcomponents ("PID|1||" vs "PID|1"); by default they are insignificant, as the standard says.
rules.unordered_segmentsarray of stringoptionalUnorderedSegments may appear anywhere without a segment_order difference (default "Z*": the standard leaves Z-segment placement to the interface). Patterns as in IgnorePaths (segment level).
sourceobject (ParallelrunSource)optionalSource says where a run's recorded traffic comes from.
source.kindstringoptionalKind is "upload" (files uploaded to the run through the Admin API) or "gcs" (every object under URI, a gs://bucket/prefix the Admin API's service account may read: a customer bucket or a Cloud FTP inbox's landing prefix). Either way the files are copied into the payload buffer (30-day lifecycle, CMEK where configured) before pairing, so a run never depends on the source afterwards.
source.senderstringoptionalSender is the Velacent Bridge sender the legacy traffic stands for (per-sender feature flags and enrichment); empty: none.
source.uristringoptional-
Example request body (synthetic data)
{
  "candidate": {
    "base": "example",
    "changes": [
      {
        "deleted": true,
        "document": {},
        "id": "example-id",
        "kind": "example"
      }
    ],
    "draft_scripts": [
      "example"
    ]
  },
  "gate": {
    "min_match_rate": 1.5,
    "required": true
  },
  "name": "example-name",
  "routes": {
    "example": "example"
  },
  "rules": {
    "ignore_paths": [
      "example"
    ],
    "ignore_segment_order": true,
    "no_default_ignores": true,
    "ordered_arrays": [
      "example"
    ],
    "strict_escaping": true,
    "strict_references": true,
    "strict_trailing": true,
    "unordered_segments": [
      "example"
    ]
  },
  "source": {
    "kind": "example",
    "sender": "example",
    "uri": "https://example.org/resource"
  }
}

Response 201

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 '{"candidate":{"base":"example","changes":[{"deleted":true,"document":{},"id":"example-id","kind":"example"}],"draft_scripts":["example"]},"gate":{"min_match_rate":1.5,"required":true},"name":"example-name","routes":{"example":"example"},"rules":{"ignore_paths":["example"],"ignore_segment_order":true,"no_default_ignores":true,"ordered_arrays":["example"],"strict_escaping":true,"strict_references":true,"strict_trailing":true,"unordered_segments":["example"]},"source":{"kind":"example","sender":"example","uri":"https://example.org/resource"}}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs"

Get run

GET /admin/v1/parallel-runs/{id}

Needs the permission: transactions:read.

Parameters

Parameters of Get run
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Get run
FieldTypePresenceDescription
effective_rulesanyoptional-
gateanyoptional-
reportanyoptional-
runobject (DbParallelRun)optionalParallelRun is a run as the Admin API shows it (metadata).
run.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.
run.completed_atstring (date-time)optional-
run.created_atstring (date-time)optional-
run.created_bystringoptional-
run.error_codestringoptional-
run.error_messagestringoptional-
run.filesintegeroptional-
run.frozenobject (ParallelrunFrozenCandidate)optionalFrozenCandidate is a candidate resolved to a full configuration and stored with the run, so a resumed run replays against exactly the same configuration.
run.gateobject (ParallelrunGate)optionalGate is the cut-over criterion the operator sets on a run.
run.idstringoptional-
run.items_doneintegeroptional-
run.items_totalintegeroptional-
run.namestringoptional-
run.planobject (ParallelrunPlan)optionalPlan is the pairing of a corpus.
run.routesmap of stringoptional-
run.rulesobject (ParallelrunRules)optionalRules control what the differs treat as equal. The zero value plus the defaults (Effective) is what a run uses unless the operator says otherwise; the effective rules are stored with the run.
run.signed_off_atstring (date-time)optional-
run.signed_off_bystringoptional-
run.signoff_notestringoptional-
run.sourceobject (ParallelrunSource)optionalSource says where a run's recorded traffic comes from.
run.started_atstring (date-time)optional-
run.statusstringoptional-
run.versionintegeroptional-
thresholdanyoptional-
Example response (synthetic data)
{
  "effective_rules": {},
  "gate": {},
  "report": {},
  "run": {
    "candidate": {
      "base": "example",
      "changes": [
        {
          "deleted": true,
          "document": {},
          "id": "example-id",
          "kind": "example"
        }
      ],
      "draft_scripts": [
        "example"
      ]
    },
    "completed_at": "2026-01-15T14:30:00Z",
    "created_at": "2026-01-15T14:30:00Z",
    "created_by": "example",
    "error_code": "Example text",
    "error_message": "Example text",
    "files": 1,
    "frozen": {
      "base_version": 1,
      "ref": "example",
      "sha256": "example"
    },
    "gate": {
      "min_match_rate": 1.5,
      "required": true
    },
    "id": "example-id",
    "items_done": 1,
    "items_total": 1,
    "name": "example-name",
    "plan": {
      "destinations": [
        "example"
      ],
      "file_errors": {
        "example": "example"
      },
      "mode": "example",
      "unpaired_outputs": 1
    },
    "routes": {
      "example": "example"
    },
    "rules": {
      "ignore_paths": [
        "example"
      ],
      "ignore_segment_order": true,
      "no_default_ignores": true,
      "ordered_arrays": [
        "example"
      ],
      "strict_escaping": true,
      "strict_references": true,
      "strict_trailing": true,
      "unordered_segments": [
        "example"
      ]
    },
    "signed_off_at": "2026-01-15T14:30:00Z",
    "signed_off_by": "example",
    "signoff_note": "example",
    "source": {
      "kind": "example",
      "sender": "example",
      "uri": "https://example.org/resource"
    },
    "started_at": "2026-01-15T14:30:00Z",
    "status": "ok",
    "version": 1
  },
  "threshold": {}
}

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/parallel-runs/example-id"

Run acks

GET /admin/v1/parallel-runs/{id}/acks

Needs the permission: transactions:read.

Parameters

Parameters of Run acks
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Run acks
FieldTypePresenceDescription
acksanyoptional-
Example response (synthetic data)
{
  "acks": {}
}

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/parallel-runs/example-id/acks"

Ack run

POST /admin/v1/parallel-runs/{id}/acks

Needs the permission: config:write.

Parameters

Parameters of Ack run
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Ack run
FieldTypePresenceDescription
acknowledgedbooleanoptional-
categorystringoptional-
destinationstringoptional-
path_keystringoptional-
reasonstringoptional-
versionintegeroptionalVersion is the group's acknowledgement version the caller last saw (0: none yet).
Example request body (synthetic data)
{
  "acknowledged": true,
  "category": "example",
  "destination": "example",
  "path_key": "example",
  "reason": "Example text",
  "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 '{"acknowledged":true,"category":"example","destination":"example","path_key":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/acks"

Cancel run

POST /admin/v1/parallel-runs/{id}/cancel

Needs the permission: dlq:retransmit.

Parameters

Parameters of Cancel run
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Cancel run
FieldTypePresenceDescription
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "reason": "Example text",
  "version": 1
}

Response 200

Response fields of Cancel run
FieldTypePresenceDescription
statusanyoptional-
Example response (synthetic data)
{
  "status": {}
}

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 '{"reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/cancel"

Run diffs

GET /admin/v1/parallel-runs/{id}/diffs

Needs the permission: transactions:read.

Parameters

Parameters of Run diffs
NameInTypePresenceDescription
idpathstringrequired-
afterquerystringoptional-
categoryquerystringoptional-
destinationquerystringoptional-
limitquerystringoptional-
pathquerystringoptional-

Response 200

Response fields of Run diffs
FieldTypePresenceDescription
diffsanyoptional-
values_includedanyoptional-
Example response (synthetic data)
{
  "diffs": {},
  "values_included": {}
}

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/parallel-runs/example-id/diffs"

Shows the expected and actual values (message content)

POST /admin/v1/parallel-runs/{id}/diffs/values

Shows the expected and actual values (message content): payload:read with a stated reason, audited at NOTICE before anything is returned (fail closed), like a raw payload view.

Needs the permission: payload:read.

Parameters

Parameters of Shows the expected and actual values (message content)
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Shows the expected and actual values (message content)
FieldTypePresenceDescription
afterintegeroptional-
categorystringoptional-
destinationstringoptional-
limitintegeroptional-
notestringoptional-
pathstringoptional-
reason_codestringoptional-
referencestringoptional-
Example request body (synthetic data)
{
  "after": 1,
  "category": "example",
  "destination": "example",
  "limit": 1,
  "note": "example",
  "path": "example",
  "reason_code": "Example text",
  "reference": "example"
}

Response 200

Response fields of Shows the expected and actual values (message content)
FieldTypePresenceDescription
diffsanyoptional-
values_includedanyoptional-
Example response (synthetic data)
{
  "diffs": {},
  "values_included": {}
}

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 '{"after":1,"category":"example","destination":"example","limit":1,"note":"example","path":"example","reason_code":"Example text","reference":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/diffs/values"

Export run

GET /admin/v1/parallel-runs/{id}/export.csv

Needs the permission: transactions:read.

Parameters

Parameters of Export run
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/parallel-runs/example-id/export.csv"

Run files

GET /admin/v1/parallel-runs/{id}/files

Needs the permission: transactions:read.

Parameters

Parameters of Run files
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Run files
FieldTypePresenceDescription
filesanyoptional-
Example response (synthetic data)
{
  "files": {}
}

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/parallel-runs/example-id/files"

Upload run file

PUT /admin/v1/parallel-runs/{id}/files/{name}

Needs the permission: dlq:retransmit.

Parameters

Parameters of Upload run file
NameInTypePresenceDescription
idpathstringrequired-
namepathstringrequiredthe rest of the path (may contain /)

Request body

Example request body (synthetic data)
{}

Response 201

Response fields of Upload run file
FieldTypePresenceDescription
bytesintegeroptional-
namestringoptional-
sha256stringoptional-
Example response (synthetic data)
{
  "bytes": 1,
  "name": "example-name",
  "sha256": "example"
}

Other responses

  • 400 Bad Request
  • 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 '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/files/example-name"

Set run gate

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

Needs the permission: config:write.

Parameters

Parameters of Set run gate
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Set run gate
FieldTypePresenceDescription
gateobject (ParallelrunGate)optionalGate is the cut-over criterion the operator sets on a run.
gate.min_match_ratenumberoptionalMinMatchRate is the lowest acceptable match rate in percent (default 100).
gate.requiredbooleanoptionalRequired records that cut-over waits for this run's sign-off.
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "gate": {
    "min_match_rate": 1.5,
    "required": true
  },
  "reason": "Example text",
  "version": 1
}

Response 200

Response fields of Set run gate
FieldTypePresenceDescription
gateanyoptional-
Example response (synthetic data)
{
  "gate": {}
}

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 '{"gate":{"min_match_rate":1.5,"required":true},"reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/gate"

Sign off run

POST /admin/v1/parallel-runs/{id}/signoff

With customer SSO, requires a recent sign-in (re-authentication).

Needs the permission: config:write.

Parameters

Parameters of Sign off run
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Sign off run
FieldTypePresenceDescription
notestringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "note": "example",
  "version": 1
}

Response 200

Response fields of Sign off run
FieldTypePresenceDescription
statusanyoptional-
Example response (synthetic data)
{
  "status": {}
}

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 '{"note":"example","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/signoff"

Start run

POST /admin/v1/parallel-runs/{id}/start

Needs the permission: dlq:retransmit.

Parameters

Parameters of Start run
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Start run
FieldTypePresenceDescription
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "reason": "Example text",
  "version": 1
}

Response 200

Response fields of Start run
FieldTypePresenceDescription
statusanyoptional-
Example response (synthetic data)
{
  "status": {}
}

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 '{"reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/parallel-runs/example-id/start"

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