> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qobra.co/llms.txt
> Use this file to discover all available pages before exploring further.

# get_import

Full detail of one data import, including its per-batch breakdown.

A list\_imports row plus `configs` — one entry per resource batch, each with its
own status, progress, record counters (created / updated / deleted / skipped)
and error state. Reach for it after list\_imports surfaces a run whose outcome
you need to explain, e.g. why an integration refresh failed.

## Parameters

<Accordion title="Body" defaultOpen>
  <ParamField body="import_id" type="string" required>
    Id of the import to inspect — the id returned by list\_imports.
  </ParamField>
</Accordion>

## Response

<Accordion title="Body" defaultOpen>
  <ResponseField name="id" type="string" />

  <ResponseField name="status" type="string">
    Overall status: 'scheduled', 'started' or 'finished'. One of: `scheduled`,
    `started`, `finished`.
  </ResponseField>

  <ResponseField name="trigger" type="string">
    What kicked the import off, e.g. 'scheduled\_refresh', 'integration\_refresh'
    or 'quota\_sync'. Null when unknown. One of: `scheduled_refresh`,
    `integration_refresh`, `integrations_with_frequency_refresh`,
    `braqoffice_refresh`, `data_table_refresh`, `data_table_settings_update`,
    `field_creation`, `quota_creation`, `quota_sync`, `quota_refresh`,
    `quota_settings_update`.
  </ResponseField>

  <ResponseField name="progress" type="integer">
    Overall completion 0–100, averaged across the import's batches (100 when it
    has no batch).
  </ResponseField>

  <ResponseField name="error" type="boolean">
    True when any batch in the import ended in error.
  </ResponseField>

  <ResponseField name="resource_types" type="string[]">
    Distinct resource types the import touched — any of 'data\_table', 'quota',
    'user'.
  </ResponseField>

  <ResponseField name="author_email" type="string">
    Email of the user who triggered the import; null for a system or scheduled
    import.
  </ResponseField>

  <ResponseField name="created_at" type="string" />

  <ResponseField name="launched_at" type="string" />

  <ResponseField name="finished_at" type="string" />

  <ResponseField name="configs" type="object[]">
    Per-batch breakdown of the import — one entry per resource batch, each with
    its own status, progress, record counters and error state.

    <Expandable title="object properties">
      <ResponseField name="id" type="string" />

      <ResponseField name="config_type" type="string">
        How the data reached Qobra for this batch: 'integration' (a CRM sync),
        'api', 'csv' (a file upload) or 'bulk\_action'. One of: `integration`,
        `api`, `csv`, `references`, `provisioning`, `bulk_action`.
      </ResponseField>

      <ResponseField name="resource_type" type="string">
        What this batch imported into: 'data\_table', 'quota' or 'user'. One of:
        `data_table`, `quota`, `user`.
      </ResponseField>

      <ResponseField name="resource_id" type="string">
        ObjectId of the imported resource (the data table or quota); null for a
        company-wide user import.
      </ResponseField>

      <ResponseField name="status" type="string">
        Batch status: 'scheduled', 'started' or 'finished'. One of: `scheduled`,
        `started`, `finished`.
      </ResponseField>

      <ResponseField name="progress" type="number">
        Completion of this batch, from 0 to 100.
      </ResponseField>

      <ResponseField name="launched_at" type="string" />

      <ResponseField name="finished_at" type="string" />

      <ResponseField name="error" type="boolean">
        True when this batch ended in error.
      </ResponseField>

      <ResponseField name="error_type" type="string" />

      <ResponseField name="error_description" type="string" />

      <ResponseField name="number_of_records" type="integer">
        Total records processed by this batch, when tracked.
      </ResponseField>

      <ResponseField name="number_of_records_created" type="integer" />

      <ResponseField name="number_of_records_updated" type="integer" />

      <ResponseField name="number_of_records_deleted" type="integer" />

      <ResponseField name="number_of_records_skipped" type="integer" />
    </Expandable>
  </ResponseField>
</Accordion>
