---
title: "Preview Import"
method: POST
path: "/disclosures/import/preview"
tags: ["disclosures"]
---

# Preview Import

`POST /disclosures/import/preview`

## Response `200`

Successful Response

- ImportPreviewResponse
  - `create` integer
  - `update` integer
  - `archive` integer
  - `reactivate` integer
  - `unchanged` integer
  - `would_archive_count` integer
  - `guardrail_tripped` boolean
  - `rows` ImportRowDiff[]
    - `source_dl_id` string, required
    - `trigger` string, required
    - `action` 'create' | 'update' | 'archive' | 'reactivate' | 'unchanged', required — What a workbook import does to one matched disclosure.
    - `changes` DisclosureFieldChange[]
      - `field` string, required
      - `old` union
        - string
        - string[]
      - `new` union
        - string
        - string[]
  - `warnings` ImportIssue[]
    - `sheet` string, nullable
    - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/3ff4c0bd276b/schema)
