---
title: "Saves an uploaded CBL file to disk without importing. Returns the saved file info."
method: POST
path: "/api/Cbl/file-import"
tags: ["Cbl"]
---

# Saves an uploaded CBL file to disk without importing. Returns the saved file info.

`POST /api/Cbl/file-import`

## Response `200`

OK

- CblSavedFileDto
  - `name` string, nullable
  - `fileName` string, nullable
  - `provider` 0 | 1 | 2 — Members: - `0` — File (None) - `1` — File - `2` — Url
  - `repoPath` string, nullable
  - `downloadUrl` string, nullable
  - `sha` string, nullable

---

[API](https://skmtc.net/kareadita/apis/kavita.md) · [All operations](https://skmtc.net/kareadita/apis/kavita/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kareadita/kavita/revisions/cc7f90a35897/schema)
