List a model's versions
GET https://weights.fyi/run/v1/models/<model>/versions
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.
Lists the versions your workspace registered of a specialist (one of the service's task models with a fixed contract, such as laya-link-scorer), newest first, with the three aliases that say which version does what. champion is the version that serves, challenger the newest candidate that passed its own gate, and previous the champion before the current one; each holds a version's id or null. A workspace sees only its own versions.
The answer holds at most 1,000 versions. has_more says whether older ones exist; the call takes no cursor, so read an older version by its id with GET /v1/models/{model}/versions/{version_id}. schema is the specialist's own contract, the same for every version, and each version's registry shows its record in each MLflow trace destination of your workspace.
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. |
Return value
200 OK:
| Field | Meaning |
|---|---|
object | model.versions. |
model | The specialist's id. |
schema | The specialist's contract: id, name, kind, stage, entity_kind, output_kind, outputs, heads, spec_version, recipe and fallback_capability. |
aliases | champion, challenger and previous: each a version's id or null. |
versions | The versions, newest first, each as GET /v1/models/{model}/versions/{version_id} returns it. |
has_more | true when older versions exist beyond this answer. |
Errors
| Status | Code | When it happens | What to do |
|---|---|---|---|
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 | model is not a specialist; versioned lists the ids that are. | Use one of them. |
Examples
With laya-link-scorer in place of MODEL, after one version was registered:
curl -s https://weights.fyi/run/v1/models/MODEL/versions -H "Authorization: Bearer $WEIGHTS_API_KEY"{
"object": "model.versions",
"model": "laya-link-scorer",
"schema": {
"id": "laya-link-scorer", "name": "Laya link scorer", "kind": "classifier", "stage": "link-routing",
"entity_kind": "link", "output_kind": "labels",
"outputs": ["follow_detail", "paginate_next", "follow_hub", "ignore"],
"heads": {"follow_detail": ["follow_detail"], "paginate_next": ["paginate_next"], "follow_hub": ["follow_hub"], "ignore": ["ignore"]},
"spec_version": "v1", "recipe": "laya-specialist/v1", "fallback_capability": "plan"
},
"aliases": {"champion": null, "challenger": "2026-11-02.1", "previous": null},
"versions": [
{
"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": []
}
],
"has_more": false
}History
- 2026-10-20: built.
- 2026-11-16: this page added.
See also
- POST /v1/models/{model}/versions, to register a version.
- POST /v1/models/{model}/promote and POST /v1/models/{model}/aliases, to change the aliases.
- GET /v1/models/{model}/bundle, the champion's bundle.