Get a migration and its items
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Migration ID
Responses
Section titled “ Responses ”object
Migration ID
Example
507f1f77bcf86cd799439011Owning account ID
Example
507f1f77bcf86cd799439011Workflow each item is onboarded through
Example
507f1f77bcf86cd799439011Display name for the migration batch
Free-text labels for organizing migrations
True while the run is still unpacking staged archives (MIGRATING with a zip file still staged on a non-terminal item)
Which bulk pipeline stage (CLASSIFY / SUMMARIZE / VALIDATE) is currently processing, for bulk-mode runs — items parked awaiting the batch should read as in progress, not queued. Null when not bulk-processing.
Applications discovered from the archive directory during unpack (null until an archive is read)
Files discovered from the archive directory during unpack (null until an archive is read)
Total uncompressed bytes of the discovered files, so progress can be shown by data size (null until an archive is read)
Archive entries streamed out to S3 so far in the current unpack pass (drives the live progress bar; null until a pass begins)
Bytes streamed out to S3 so far in the current unpack pass (drives the data-size progress bar; null until a pass begins)
Most-recently-extracted file names (rolling window, newest last) for the live “Extracting
Compliance checks selected for the run
object
Run sanctions/PEP/adverse-media screening for each created application
Run ID verification for each created application
Run KYC (individual) data verification for each created application
Run KYB (business) data verification for each created application
User who created the migration
Example
507f1f77bcf86cd799439011Item counts by status for this migration
object
Total number of items in this migration
Items queued and not yet started
Items currently being processed
Items that completed successfully
Items that completed with missing required data
Items that failed processing
Items cancelled before they finished processing
Total outstanding tasks across the batch — the missing required fields summed over every item, not the number of items needing attention (one item can carry several tasks)
Total number of staged source files across all items in this migration
When the run started
Example
2026-03-30T12:00:00.000ZWhen the run finished
Example
2026-03-30T12:05:00.000ZDate the migration was created
Example
2026-03-30T10:00:00.000ZDate the migration was last updated
Example
2026-03-30T12:05:00.000ZItems in this migration, oldest first
object
Migration item ID
Example
507f1f77bcf86cd799439011Owning migration ID
Example
507f1f77bcf86cd799439011Application created from this item once the run processes it
Example
507f1f77bcf86cd799439011Display name for the item: the created application’s current name when it has one (mirrors the application page, DEV-2729), else the operator-typed item label
Applicant entity type (BUSINESS/INDIVIDUAL); null defaults to business
Pipeline checkpoint. IN_PROGRESS + APP_READY means seeded but still waiting behind the queue (shown as Queued in the UI)
Staged source files
object
Original uploaded file name
Uploaded file MIME type
Uploaded file size in bytes
Number of staged source files
Per-file pipeline progress counts
object
Files whose content classification has finished
Files summarized during the extraction stage
Per-document validations completed (can exceed fileCount — one file fans out to several document types)
File currently being processed in the active pipeline stage
Onboarding completion percent (0-100) during the finalize stage
Total documents queued for the validate stage — the denominator for “validated / N documents” (null before validate)
Post-run gap summary
object
Labels of required profile fields still unfilled once document extraction settled
Truncated error message when the item failed
When this item started processing
Example
2026-03-30T12:00:00.000ZWhen this item finished processing
Example
2026-03-30T12:01:00.000ZDate the item was created
Example
2026-03-30T10:00:00.000ZDate the item was last updated
Example
2026-03-30T12:01:00.000ZWhether an operator may re-run this item: a settled status (MISSING_DATA / FAILED / CANCELLED) whose application (if any) is still PENDING. False once the app has SUBMITTED/APPROVED — re-running would re-extract and overwrite reviewed data.
Run time/cost breakdown — present only for BACKOFFICE callers, null otherwise
object
Whether this run executed in bulk mode (resolved per-migration override → account default)
Per-stage Batch API records for bulk runs (empty for live runs)
object
Pipeline stage (CLASSIFY / SUMMARIZE / VALIDATE)
When the stage batches were submitted to OpenAI (ISO)
When the stage batches settled (ISO)
Milliseconds waited on OpenAI for this stage
Requests the stage wanted covered (pre-dedup)
Duplicate-content requests collapsed before submission
Requests actually sent to OpenAI
Results ingested into the cache
Requests that failed (per-line errors + whole-batch failures)
Input tokens billed for the stage batches
Output tokens billed for the stage batches
Estimated USD at the batch rate (live-equivalent is 2×)
How the stage’s batch phase ended (‘completed’ | ‘timeout’)
Live (non-batch) OpenAI calls attributed to this run
Input tokens across attributed live calls
Output tokens across attributed live calls
Estimated USD across attributed live calls, standard rates
Subset of live input tokens from batchable file-stage calls
Subset of live output tokens from batchable file-stage calls
Subset of live cost from batchable file-stage calls — what bulk mode would have halved
Live calls served from the OpenAI cache — real activity at $0 spend (tokens unknown)
When the currently in-flight bulk stage (bulkStage) was submitted — drives a live wait ticker pre-settlement
Per-phase processing time summed across items
object
Items whose timestamps contributed to the sums
Classify + store (item start → classified), summed ms
Summarize + extract (classified → extracted), summed ms
Validate (extracted → finalize start), summed ms
Build application (finalize start → item settled), summed ms
Example
{ "id": "507f1f77bcf86cd799439011", "accountId": "507f1f77bcf86cd799439011", "workflowId": "507f1f77bcf86cd799439011", "name": "string", "labels": [ "string" ], "sourceType": "UPLOAD", "status": "UPLOADING", "isPreparing": false, "bulkStage": "string", "discoveredApplicationCount": 0, "discoveredFileCount": 0, "discoveredByteCount": 0, "extractedFileCount": 0, "extractedByteCount": 0, "recentExtractedFileNames": [ "string" ], "complianceChecks": { "screening": false, "idVerification": false, "kycDataVerification": false, "kybDataVerification": false }, "createdById": "507f1f77bcf86cd799439011", "itemCounts": { "total": 0, "queued": 0, "inProgress": 0, "completed": 0, "missingData": 0, "failed": 0, "cancelled": 0 }, "taskCount": 0, "fileCount": 0, "startedAt": "2026-03-30T12:00:00.000Z", "completedAt": "2026-03-30T12:05:00.000Z", "createdAt": "2026-03-30T10:00:00.000Z", "updatedAt": "2026-03-30T12:05:00.000Z", "items": [ { "id": "507f1f77bcf86cd799439011", "migrationId": "507f1f77bcf86cd799439011", "applicationId": "507f1f77bcf86cd799439011", "name": "string", "entityType": {}, "status": {}, "stage": {}, "files": [], "fileCount": 0, "progress": {}, "activeFile": "string", "onboardingPercent": 0, "validateTotal": 0, "outstanding": {}, "error": "string", "startedAt": "2026-03-30T12:00:00.000Z", "completedAt": "2026-03-30T12:01:00.000Z", "createdAt": "2026-03-30T10:00:00.000Z", "updatedAt": "2026-03-30T12:01:00.000Z", "retryable": false } ], "runBreakdown": { "bulkMode": false, "batchStages": [], "liveCalls": 0, "liveInputTokens": 0, "liveOutputTokens": 0, "liveCostUsd": 0, "liveBatchableInputTokens": 0, "liveBatchableOutputTokens": 0, "liveBatchableCostUsd": 0, "liveCacheHits": 0, "currentStageSince": "string", "phaseTimes": {} }}