Skip to main content
GET
/
v2
/
imports
/
{import_id}
/
status
Get Import Status
const options = {
  method: 'GET',
  headers: {'x-organization-id': '<x-organization-id>', 'x-api-key': '<api-key>'}
};

fetch('https://api.dcycle.io/v2/imports/{import_id}/status', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "created",
  "template_id": "<string>",
  "file_name": "<string>",
  "total_rows": 123,
  "valid_rows": 123,
  "error_rows": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "numeric_locale": "<string>",
  "errors_by_column": {},
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "processing_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
x-organization-id
string<uuid>
required

Path Parameters

import_id
string<uuid>
required

Response

Successful Response

Current persisted state for an import session.

import_id
string<uuid>
required
status
enum<string>
required

Lifecycle states for an import session.

Available options:
created,
parsed,
mapped,
validating,
validated,
submitting,
submitted,
failed,
expired
template_id
string
required
file_name
string
required
total_rows
integer
required
valid_rows
integer
required
error_rows
integer
required
created_at
string<date-time>
required
numeric_locale
string
errors_by_column
Errors By Column · object
file_id
string<uuid>
processing_job_id
string<uuid>
updated_at
string<date-time>