get
https://example.com
POST /v2/migration/jobs/{id}/actions/run-live — Promote dry-run to live import
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Promotes a validated dry-run job to a live import. A new job record is created (with dryRun: false) using the same CSV file already uploaded to S3 — no re-upload needed.
Pre-conditions (all must pass)
- Job status must be
VALIDATION_COMPLETE dryRunmust betrueerrorRowsmust be0
If any condition fails, the endpoint returns 400 with a descriptive message.
Required role
affiliate_super_admin
Response 200
200{
"success": true,
"result": {
"id": "mjob::live456",
"type": "PATIENTS",
"status": "PENDING_IMPORT",
"dryRun": false,
"createdAt": "2026-05-30T14:05:00.000Z"
}
}Errors
| Status | Description |
|---|---|
400 | Job not in VALIDATION_COMPLETE status |
400 | This job is already a live import |
400 | Dry-run found errors — fix CSV and re-upload |
404 | Job not found |
409 | Another request already promoted this job (concurrent calls) |
