Get import job

GET https://api.invunion.com/api/v1/import-jobs/:id ingest:write Markdown

Get the status, counters, and optionally the row results of one import job.

Status is pending, then processing, then completed, or failed when at least one row failed. counts breaks rows down into created, duplicates, failed, skipped, pending, and warnings.

Add rows=failed to read the failed rows with their error, or rows=all for every row and the id it created (result_id). Rows are paged by row number: pass nextAfter as after until it is null. Poll every few seconds while the job is pending or processing; the response is never cached. Row payloads are emptied when the job completes and rows are deleted 30 days later.

Path parameters

NameTypeRequired
id

Import job UUID, from Create import job or List import jobs.

Example: 6a4deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

string

No maximum

Required

Query parameters

NameTypeRequired
rows

Include row results. Default none.

string

No maximum

Optional
Allowed valuesnonefailedall
limit

Rows per page when rows is set. Default 100, maximum 500.

Example: 100

integer
Optional
after

Return rows after this row number. Pass nextAfter of the previous response.

Example: 0

integer
Optional

Errors

This operation can return the following errors in addition to generic HTTP failures.

Error HTTP code Description
Missing Bearer token 401 The Authorization header is missing or is not a Bearer token.
Invalid or revoked API key 401 The API key is unknown, malformed, expired, or has been revoked.
API key is missing scope ingest:write 403 The key does not include ingest:write. A write scope does not imply the matching read scope.
Too many requests, please try again later 429 More than 100 requests in one minute from this API key or IP address. Wait for the Retry-After header (seconds) and retry.
Invalid job id 400 The path is not a UUID.
Import job not found 404 No import job with this UUID exists in the authenticated tenant.
Internal server error 500 Unexpected server error. The JSON body includes correlationId. Retry with backoff.