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

# List paths info

`POST /api/containers/{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

## Changes

- **2026-09-18** `74f2b0d17636` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/containers/:namespace/:repo/paths-info/post.md)

---

[API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.dev/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingface/apis/hub-api-endpoints/revisions/b88d4a4da99f?raw)
