---
title: "Get model details"
method: GET
path: "/v1/models/{modelId}"
tags: ["Models"]
---

# Get model details

`GET /v1/models/{modelId}`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/models/{modelId}`
- Auth: HTTP bearer

## Response `200`

Model details (includes path and sourceRepo)

- ModelDetail
  - `id` string, required: UUID
  - `filename` string, required
  - `name` string, required: Editable display name
  - `size` integer, required
  - `formattedSize` string, required
  - `isAccessible` boolean, required
  - `parameters` string, nullable
  - `quantization` string, nullable
  - `companionFiles` object[]
    - `filename` string, required
    - `role` string, required
    - `size` integer, required
  - `source` string, required: Source type (e.g. "huggingface", "local")
  - `path` string, required: Absolute file path
  - `sourceRepo` string, nullable: HuggingFace repo if downloaded

## Other responses

- `404`: Resource not found

---

[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)
