---
title: "For each root, checks if there are any supported files at root to warn the user during library creation about an invalid setup"
method: POST
path: "/api/Library/has-files-at-root"
tags: ["Library"]
---

# For each root, checks if there are any supported files at root to warn the user during library creation about an invalid setup

`POST /api/Library/has-files-at-root`

## Request body

- CheckForFilesInFolderRootsDto
  - `roots` string[], nullable

## Response `200`

OK

- string[]

---

[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/3bd8363f0a4e/schema)
