Skip to main content
GET
Poll a dry-run import count

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token>. The token is either a user token / OAuth access token, or a service-account API key (cfk_...). A key is valid on every endpoint and acts as its service account, an organization member with per-store permissions. Refused keys answer 403 with Invalid API key., API key revoked., API key expired. or API key disabled..

Path Parameters

project_id
string<uuid>
required

UUID of the project

connection_id
string<uuid>
required

UUID of the connection

Query Parameters

task_id
string
required

The task_id returned by import-preview

Response

Current state of the count

state
enum<string>
required
Available options:
pending,
running,
done,
failed
counted
integer
required

Files found so far (running) or in total (done)

result
object

Present when state is done

error
string

Present when state is failed