---
title: "Get Path Info"
method: GET
path: "/api/filesystem/info/{path}"
tags: ["filesystem"]
---

# Get Path Info

`GET /api/filesystem/info/{path}`

Gets detailed information about a file or directory.

## Path parameters

- `path` string, required

## Response `200`

Successfully retrieved path information

- FileInfo
  - `name` string, required — File or directory name
  - `path` string, required — Full path to the file or directory
  - `type` string, required — Type of entry: 'file' or 'directory'
  - `size` integer, required — Size in bytes
  - `modified_time` string, date-time, required — Last modification time
  - `is_hidden` boolean, required — Whether the file/directory is hidden
  - `extension` string, nullable — File extension if applicable

## Other responses

- `403` — Permission denied
- `404` — Path not found
- `422` — Validation Error
- `500` — Internal server error

## Changes

- **2026-07-13** `5424450258fc` — 1 info
  - endpoint added
- **2025-01-13** `a2d864f3a8db` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/cuse-dev/apis/fastapi/changes/api/filesystem/info/:path/get.md)

---

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