Skip to main content
Return the name and fixed revision of a catalog model. Returns 404 if the ID is unknown.

Signature

Method signature on client.baseModels:

Parameters

"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"
required
The stable product identifier of a catalog base model.

Returns

Promise<BaseModel> A catalog base model pinned to an immutable revision. upstreamUrl links to that revision.
"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"
required
Stable identifier of the catalog base model.
string
required
Display name of the base model.
string
required
The model publisher shown in the base model catalog, such as Qwen.
string
required
Published repository identifier for the base model.
string
required
Immutable source revision, as a 40-character hexadecimal commit hash.
string
required
URL of the exact published model revision.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: GET /base-models/{baseModelId}.