Documentation
Models and quotes
View .mdOpenAPI

Get a model version

GEThttps://weights.fyi/run/v1/models/{model}/versions/{version_id}scope: read
text
GET https://weights.fyi/run/v1/models/<model>/versions/<version_id>
Authorization: Bearer <token>                    scope: read
Available since
2026-10-20 model versions: included in this build; see What is live for deployment status.
Answer time
synchronous: read from your workspace's records at once.

Returns one version your workspace registered of a specialist (one of the service's task models with a fixed contract, such as laya-link-scorer): its digests and metrics as registered, whether the service can execute it, and the aliases that name it now. The aliases are champion (the version that serves), challenger (the newest candidate that passed its own gate) and previous (the champion before the current one); a version that none of them names has an empty list.

The bundle itself is not in this answer: has_bundle and serving_status say whether one is registered, and GET /v1/models/{model}/bundle returns it. registry shows the version's record in each MLflow trace destination of your workspace: its number there once it is synced, or the last failure until a later sync succeeds.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token that holds the read scope.
modelpathyesA specialist's id, e.g. laya-link-scorer.
version_idpathyesThe version's id, as you registered it.

Return value

200 OK with the version:

FieldMeaning
objectmodel.version.
model, version_id, recipe, metricsAs registered.
model_sha256, weights_sha256, dataset_sha256The digests of the model document, the weights and the training data.
has_bundleWhether an inline bundle is registered.
serving_statusbundle_ready: the service can execute it. artifact_ready: its weights are referenced, and artifact_ref is in the answer. metadata_only: figures and digests only.
aliasesThe aliases that name it now, out of champion, challenger and previous.
created_atWhen it was registered.
registryOne record per MLflow trace destination that holds or awaits the version: sink_id, run_id, registry_version, synced_at, last_error and last_error_at.

Errors

StatusCodeWhen it happensWhat to do
400invalid_versionversion_id holds characters a version's id cannot have.Send the id as registered.
401unauthorized, invalid_token, token_revoked, token_expiredNo token, or one that does not work (any more).Use a valid token.
403scope_required, account_suspendedThe token lacks read, or the account is suspended.Use a token with read.
404model_not_versioned, version_not_foundmodel is not a specialist (versioned lists the ids that are), or your workspace registered no version of that id.List your versions with GET /v1/models/{model}/versions.

Examples

With laya-link-scorer in place of MODEL and 2026-11-02.1 in place of VERSION_ID:

sh
curl -s https://weights.fyi/run/v1/models/MODEL/versions/VERSION_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{
  "object": "model.version",
  "model": "laya-link-scorer",
  "version_id": "2026-11-02.1",
  "recipe": "laya-specialist/v1",
  "model_sha256": "0e9d03893cf9b487b46c69b99a496bc5859890f184509f4a97d5cc1f3bb3cb8f",
  "weights_sha256": "831b6f101815b4590022ea3ffed074ed5af35cfca7ecf93dda70861e50e913e4",
  "dataset_sha256": "5f2c1b9e8a7d6c4b3a29180f7e6d5c4b3a2918f7e6d5c4b3a29180f7e6d5c4b3",
  "metrics": {"macro_f1": 0.912, "ece": 0.031, "gate_passed": true},
  "has_bundle": false,
  "serving_status": "metadata_only",
  "aliases": ["challenger"],
  "created_at": "2026-11-02T09:14:03.120Z",
  "registry": []
}

History

  • 2026-10-20: built.
  • 2026-11-16: this page added.

See also