Parallelrun API
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
| Field | Type | Presence | Description |
|---|---|---|---|
runs | any | optional | - |
{
"runs": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Field | Type | Presence | Description |
|---|---|---|---|
candidate | object (ParallelrunCandidate) | optional | Candidate 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.base | string | optional | Base is "live" (the current configuration) or an RFC 3339 time (the configuration as of then). Empty means live. |
candidate.changes | array of object (ParallelrunCandidateChange) | optional | Changes 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_scripts | array of string | optional | DraftScripts 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. |
gate | object (ParallelrunGate) | optional | Gate is the cut-over criterion the operator sets on a run. |
gate.min_match_rate | number | optional | MinMatchRate is the lowest acceptable match rate in percent (default 100). |
gate.required | boolean | optional | Required records that cut-over waits for this run's sign-off. |
name | string | optional | - |
routes | map of string | optional | - |
rules | object (ParallelrunRules) | optional | Rules 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_paths | array of string | optional | IgnorePaths 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_order | boolean | optional | IgnoreSegmentOrder skips the segment order check entirely. |
rules.no_default_ignores | boolean | optional | NoDefaultIgnores drops the default ignore list (DefaultIgnorePaths). |
rules.ordered_arrays | array of string | optional | OrderedArrays 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_escaping | boolean | optional | StrictEscaping 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_references | boolean | optional | StrictReferences 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_trailing | boolean | optional | StrictTrailing reports trailing empty fields, repetitions, components and subcomponents ("PID|1||" vs "PID|1"); by default they are insignificant, as the standard says. |
rules.unordered_segments | array of string | optional | UnorderedSegments 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). |
source | object (ParallelrunSource) | optional | Source says where a run's recorded traffic comes from. |
source.kind | string | optional | Kind 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.sender | string | optional | Sender is the Velacent Bridge sender the legacy traffic stands for (per-sender feature flags and enrichment); empty: none. |
source.uri | string | optional | - |
{
"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
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
effective_rules | any | optional | - |
gate | any | optional | - |
report | any | optional | - |
run | object (DbParallelRun) | optional | ParallelRun is a run as the Admin API shows it (metadata). |
run.candidate | object (ParallelrunCandidate) | optional | Candidate 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_at | string (date-time) | optional | - |
run.created_at | string (date-time) | optional | - |
run.created_by | string | optional | - |
run.error_code | string | optional | - |
run.error_message | string | optional | - |
run.files | integer | optional | - |
run.frozen | object (ParallelrunFrozenCandidate) | optional | FrozenCandidate is a candidate resolved to a full configuration and stored with the run, so a resumed run replays against exactly the same configuration. |
run.gate | object (ParallelrunGate) | optional | Gate is the cut-over criterion the operator sets on a run. |
run.id | string | optional | - |
run.items_done | integer | optional | - |
run.items_total | integer | optional | - |
run.name | string | optional | - |
run.plan | object (ParallelrunPlan) | optional | Plan is the pairing of a corpus. |
run.routes | map of string | optional | - |
run.rules | object (ParallelrunRules) | optional | Rules 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_at | string (date-time) | optional | - |
run.signed_off_by | string | optional | - |
run.signoff_note | string | optional | - |
run.source | object (ParallelrunSource) | optional | Source says where a run's recorded traffic comes from. |
run.started_at | string (date-time) | optional | - |
run.status | string | optional | - |
run.version | integer | optional | - |
threshold | any | optional | - |
{
"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
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
acks | any | optional | - |
{
"acks": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
acknowledged | boolean | optional | - |
category | string | optional | - |
destination | string | optional | - |
path_key | string | optional | - |
reason | string | optional | - |
version | integer | optional | Version is the group's acknowledgement version the caller last saw (0: none yet). |
{
"acknowledged": true,
"category": "example",
"destination": "example",
"path_key": "example",
"reason": "Example text",
"version": 1
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
version | integer | optional | - |
{
"reason": "Example text",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | any | optional | - |
{
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
after | query | string | optional | - |
category | query | string | optional | - |
destination | query | string | optional | - |
limit | query | string | optional | - |
path | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
diffs | any | optional | - |
values_included | any | optional | - |
{
"diffs": {},
"values_included": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
after | integer | optional | - |
category | string | optional | - |
destination | string | optional | - |
limit | integer | optional | - |
note | string | optional | - |
path | string | optional | - |
reason_code | string | optional | - |
reference | string | optional | - |
{
"after": 1,
"category": "example",
"destination": "example",
"limit": 1,
"note": "example",
"path": "example",
"reason_code": "Example text",
"reference": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
diffs | any | optional | - |
values_included | any | optional | - |
{
"diffs": {},
"values_included": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
files | any | optional | - |
{
"files": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
name | path | string | required | the rest of the path (may contain /) |
Request body
{}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
bytes | integer | optional | - |
name | string | optional | - |
sha256 | string | optional | - |
{
"bytes": 1,
"name": "example-name",
"sha256": "example"
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
gate | object (ParallelrunGate) | optional | Gate is the cut-over criterion the operator sets on a run. |
gate.min_match_rate | number | optional | MinMatchRate is the lowest acceptable match rate in percent (default 100). |
gate.required | boolean | optional | Required records that cut-over waits for this run's sign-off. |
reason | string | optional | - |
version | integer | optional | - |
{
"gate": {
"min_match_rate": 1.5,
"required": true
},
"reason": "Example text",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
gate | any | optional | - |
{
"gate": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
note | string | optional | - |
version | integer | optional | - |
{
"note": "example",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | any | optional | - |
{
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
version | integer | optional | - |
{
"reason": "Example text",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
status | any | optional | - |
{
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
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.