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

# Get Import Details

> Retrieve details and extracted rules for a specific policy import

Retrieve the full details of a policy import, including all extracted rules and their properties. Use this endpoint to poll for results after submitting an import, and to review rules before activation.

<Note>
  Extraction runs in the background. Small documents are usually `pending_review` within seconds;
  large documents (hundreds of pages) are extracted in chunks and can stay in `processing` for
  several minutes. Poll until the status is no longer `processing`.
</Note>

## Path Parameters

<ParamField path="import_id" type="string" required>
  The import ID returned from the import endpoint
</ParamField>

## Response

<ResponseField name="import_id" type="string">
  Unique import identifier
</ResponseField>

<ResponseField name="status" type="string">
  Import status: `processing`, `pending_review`, `no_rules_found`, `failed`, `activated`, or `partially_activated`
</ResponseField>

<ResponseField name="rule_count" type="integer">
  Number of extracted rules (present once extraction completes)
</ResponseField>

<ResponseField name="error_message" type="string">
  Error details when status is `failed`
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp of the import
</ResponseField>

<ResponseField name="rules" type="array">
  Full list of extracted rules with details

  <Expandable title="rule properties">
    <ResponseField name="id" type="string">
      Rule identifier
    </ResponseField>

    <ResponseField name="type" type="string">
      Rule type: `AI_SIGNAL`, `REGEX`, or `REQUIRE_NEAR`
    </ResponseField>

    <ResponseField name="name" type="string">
      Human-readable rule name
    </ResponseField>

    <ResponseField name="action" type="string">
      Suggested action: `flag` (warn only) or `fix` (suggest replacement text)
    </ResponseField>

    <ResponseField name="severity" type="string">
      Rule severity: `low`, `medium`, or `high`
    </ResponseField>

    <ResponseField name="confidence" type="number">
      AI confidence score (0-1)
    </ResponseField>

    <ResponseField name="suggested_text" type="string">
      Suggested replacement or guidance text (if applicable)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "import_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "pending_review",
    "rule_count": 3,
    "created_at": "2026-01-15T10:30:00Z",
    "rules": [
      {
        "id": "no_misleading_claims",
        "type": "AI_SIGNAL",
        "name": "No Misleading Claims",
        "action": "flag",
        "severity": "high",
        "confidence": 0.95
      },
      {
        "id": "benchmark_comparison_required",
        "type": "AI_SIGNAL",
        "name": "Benchmark Comparison Required",
        "action": "fix",
        "severity": "medium",
        "confidence": 0.88,
        "suggested_text": "Performance results should be compared to an appropriate benchmark index."
      },
      {
        "id": "risk_disclosure_present",
        "type": "REQUIRE_NEAR",
        "name": "Risk Disclosure Near Performance Data",
        "action": "flag",
        "severity": "high",
        "confidence": 0.92
      }
    ]
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": "Import not found"
  }
  ```
</ResponseExample>
