---
title: "Read Hugging Face-compatible metadata for an exact mirrored revision."
method: GET
path: "/api/models/{owner}/{name}"
tags: ["Agent Docs"]
---

# Read Hugging Face-compatible metadata for an exact mirrored revision.

`GET /api/models/{owner}/{name}`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/models/{owner}/{name}`
- Auth: none required

Only an immutable Hugging Face source binding with serve-eligible files is returned. This is a catalog compatibility route; it does not fetch missing files upstream. Missing or mismatched revisions return 404.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists.

## Path parameters

- `owner` string, required
- `name` string, required

## Query parameters

- `compat` 'containment'

## Response `200`

Read Hugging Face-compatible metadata for an exact mirrored revision.

- object
  - `_id` string
  - `id` string, required
  - `modelId` string, required
  - `author` string
  - `sha` string, required
  - `lastModified` string, nullable
  - `created_at` string, nullable
  - `private` unknown
  - `gated` unknown
  - `disabled` unknown
  - `downloads` integer
  - `likes` unknown
  - `library_name` string
  - `pipeline_tag` string
  - `cardData` object
  - `tags` string[]
  - `siblings` object[], required
    - `rfilename` string
  - `_huggingBay` object, required
    - `artifactId` string
    - `registryUrl` string
    - `trustUrl` string
    - `note` string
    - `upstreamFilesExcluded` unknown

## Other responses

- `404`: No visible public record has this identifier.
- `429`: Request budget exceeded. Wait for Retry-After.
- `503`: Current evidence is unavailable.

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/ea7ba26b1e27?raw)
