Get a model version
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
| Name | Where | Required | Meaning |
|---|---|---|---|
Authorization | header | yes | Bearer and a token that holds the read scope. |
model | path | yes | A specialist's id, e.g. laya-link-scorer. |
version_id | path | yes | The version's id, as you registered it. |
Return value
200 OK with the version:
| Field | Meaning |
|---|---|
object | model.version. |
model, version_id, recipe, metrics | As registered. |
model_sha256, weights_sha256, dataset_sha256 | The digests of the model document, the weights and the training data. |
has_bundle | Whether an inline bundle is registered. |
serving_status | bundle_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. |
aliases | The aliases that name it now, out of champion, challenger and previous. |
created_at | When it was registered. |
registry | One 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
| Status | Code | When it happens | What to do |
|---|---|---|---|
400 | invalid_version | version_id holds characters a version's id cannot have. | Send the id as registered. |
401 | unauthorized, invalid_token, token_revoked, token_expired | No token, or one that does not work (any more). | Use a valid token. |
403 | scope_required, account_suspended | The token lacks read, or the account is suspended. | Use a token with read. |
404 | model_not_versioned, version_not_found | model 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:
curl -s https://weights.fyi/run/v1/models/MODEL/versions/VERSION_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"{
"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
- GET /v1/models/{model}/versions, every version and the aliases.
- GET /v1/models/{model}/bundle, the version's bundle.
- POST /v1/models/{model}/promote, to make it the champion.