models

Resolve Model

Resolve a model string (slug or id) to its catalog record.

General slug→id lookup: any client holding a model string (e.g. a trainable model's gateway slug) can map it to the id and metadata. Declared before /{model_id} so the literal resolve path is not parsed as an id; a query param (not a path segment) so slugs with / or : need no encoding. Team-scoping still hides other teams' private fine-tunes.

get/v2/models/resolve

Query parameters

modelstring required

Model slug (or id) to resolve to its catalog record

Model slug (or id) to resolve to its catalog record

Response

Successful Response

idstring uuid required
model_namestring required
namestring nullable
routesstring[]
is_betaboolean
hiddenboolean
is_trainableboolean
publicboolean
checkpoint_countinteger nullable
inference_countinteger
fork_of_model_idstring uuid nullable
fork_of_model_namestring nullable
context_windowinteger nullable
sdk_agent_typestring required
input_cost_per_tokennumber nullable
output_cost_per_tokennumber nullable
pricing_configobject
request_defaultsobject
metadataobject
created_atstring date-time required
released_atstring date-time nullable

Vendor-published release time. Null until an admin sets it; not catalog insert time.

can_editboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.