---
title: "List paths info"
method: POST
path: "/api/buckets/{namespace}/{repo}/paths-info"
tags: ["buckets"]
---

# List paths info

`POST /api/buckets/{namespace}/{repo}/paths-info`

## Path parameters

- `namespace` string, required
- `repo` string, required

## Request body

- object
  - `paths` union, required
    - string[]
    - string

## Response `200`

List of found files (missing paths are omitted)

- object[]
  - `type` 'file' | 'directory', required
  - `path` string, required
  - `size` integer
  - `xetHash` string — Not defined for directories
  - `mtime` string, date-time
  - `mtimeNanos` integer — Sub-millisecond remainder of mtime, in nanoseconds (0–999_999)
  - `uploadedAt` string, date-time, required
  - `contentType` string

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/dae0cc3790f0/schema)
