---
title: "Preview a Storage import"
method: POST
path: "/storage/import-preview"
tags: ["storage"]
---

# Preview a Storage import

`POST /storage/import-preview`

Categorizes the selected Storage files/folders into needs-review, valid, and invalid buckets using the business import folder mapping, and returns the counts plus the full needs-review list. Valid/invalid files are browsed lazily on demand as a unified tree via GET /storage/import-preview/{preview_id}.

## Request body

- ModelsStorageImportPreviewRequest
  - `business_node_id` string
  - `keys` string[]

## Response `200`

OK

- ModelsImportPreviewResponse
  - `counts` ModelsImportPreviewCounts
    - `invalid` integer
    - `review` integer
    - `valid` integer
  - `preview_id` string
  - `review` ModelsReviewFileEntry[]
    - `key` string
    - `name` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-08-25** `c45036f1eefc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/resourcly/apis/resourcly-api/changes/storage/import-preview/post.md)

---

[API](https://skmtc.dev/resourcly/apis/resourcly-api.md) · [All operations](https://skmtc.dev/resourcly/apis/resourcly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/resourcly/resourcly-api/revisions/05ad3f421950/schema)
