---
title: "HuggingFace repo details with its downloadable files"
method: GET
path: "/v1/models/hf/{owner}/{repo}/info"
tags: ["Models"]
---

# HuggingFace repo details with its downloadable files

`GET /v1/models/hf/{owner}/{repo}/info`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/models/hf/{owner}/{repo}/info`
- Auth: HTTP bearer

Repo metadata plus every downloadable file with a known size. The
recommended GGUF, when the repo has one, is flagged on its file row and
named in `recommendedFile`. Backs the `model_repo_info` MCP tool.

## Response `200`

Repo details and downloadable files

- object
  - `id` string, required
  - `downloads` integer, required
  - `likes` integer, required
  - `pipelineTag` string
  - `libraryName` string
  - `tags` string[]
  - `files` object[], required
    - `filename` string, required
    - `path` string, required
    - `size` integer, required
    - `formattedSize` string, required
    - `recommended` boolean
  - `recommendedFile` string

## Other responses

- `400`: Invalid request
- `404`: Resource not found
- `502`: HuggingFace API error

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
