Sources

Read one import run

Changed on

Progress and outcome of one import run: how many items were asked for, how many are in, how many failed, and for each failure which item and why. running is true until the run has finished. Items already in stay in when others fail. Reads of a personal connection answer only to the person who connected it.

Scope: read or sources:read.

get/v1/sources/{id}/import-runs/{runId}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

runId, string uuid required

Import run UUID from POST /v1/sources/{id}/import (async: true) or GET /v1/sources/{id}/import-runs.

Response

The run, with its failures named.

SourceImportRun required

One import carried out in the background. Counts are in requested items (a folder is one item however many files it holds): requested = imported + skipped + empty + failed + pending.

id, string uuid
source_connection_id, string uuid
status, 'queued' | 'running' | 'completed' | 'failed'

completed also when some items failed (see failed and failures); failed when the run itself stopped (see error).

running, boolean

True while the run is queued or being worked on.

requested, integer

Items asked for.

imported, integer

Items brought into the workspace by this run.

skipped, integer

Items that were in the workspace already; nothing was imported twice.

empty, integer

Folders that held nothing to import.

failed, integer
pending, integer

Items not worked on yet (or never, when the run itself failed).

error, string nullable

Why the run as a whole stopped, when it did.

created_at, string date-time
started_at, string date-time nullable
finished_at, string date-time nullable
failures, object[]

On the single-run read. What could not be imported.

failures_truncated, boolean

True when more failures exist than failures names; failed is always exact.

found, object

On the single-run read. What the requested folders held, in files. Files of a type the extraction pipeline does not read (or over the source's size limit) are left out and counted here by reason; they are not failures.

Changes