---
title: "Retrieve information of whether an item in the file tree is a folder or file"
method: GET
path: "/files/isDirectory/:path"
tags: ["Files"]
---

# Retrieve information of whether an item in the file tree is a folder or file

`GET /files/isDirectory/:path`

## Path parameters

- `path` string, required

## Other responses

- `404` — File not found
- `500` — Internal serveur error

---

[API](https://skmtc.net/materiahq/apis/materia-server.md) · [All operations](https://skmtc.net/materiahq/apis/materia-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/materiahq/materia-server/versions/f4e80651bb93/schema)
