Skip to main content
Fetch the current state of an import job. The job moves through PENDINGRUNNING → one of COMPLETED, PARTIAL_SUCCESS, or FAILED. The response carries the running counts you need to decide whether the import succeeded, whether you need to investigate failures, and whether re-importing is worthwhile.

Synopsis

Arguments

Examples

1. One-off status check

Prints the job as a single-record table: status, mode, file name, total and processed rows, and the bucket counts.

2. Poll until terminal

The three terminal states map to “everything imported”, “some rows failed and the rest succeeded”, and “the whole job failed before any rows landed”. Branch on the status to decide whether to call import failed-export.

3. Print only the failure summary

Useful inside a script that should alert when failedCount > 0 regardless of overall status.

Response

failedRows is a small inline sample. The complete list lives behind import failed-export, which streams every rejected row as CSV.

See also