Documentation
Models and quotes
View .mdOpenAPI

Get a version's bundle

GEThttps://weights.fyi/run/v1/models/{model}/bundlescope: read
text
GET https://weights.fyi/run/v1/models/<model>/bundle[?version=<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 the bundle your workspace registered with a version of a specialist (one of the service's task models with a fixed contract, such as laya-link-scorer): the champion's when you name no version, where the champion is the version that serves, or the one version names. A bundle is the signed package the version was registered with: its manifest and the files the manifest names, the model document and its weights. A runtime of your own loads exactly what the service executes, and the version's three digests come with it to check against.

For a version registered with artifact_ref instead of an inline bundle, bundle holds that reference (where the weights are stored, their digest, size and format), not the files. A version registered with neither has no bundle and answers 404 bundle_not_registered. A workspace reads only its own versions.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token that holds the read scope.
modelpathyesA specialist's id, e.g. laya-link-scorer.
versionquerynoA registered version's id; the champion's when left out. version_id is taken as the same parameter.

Return value

200 OK:

FieldMeaning
objectmodel.bundle.
model, version_id, recipeThe specialist, the version the bundle belongs to, and its recipe.
aliasesThe aliases that name the version now, out of champion, challenger and previous.
model_sha256, weights_sha256, dataset_sha256The digests of the model document, the weights and the training data, as registered.
bundleThe bundle as registered (contract, key_id, signature, manifest, and files, base64 by path), or the artifact reference.

Errors

StatusCodeWhen it happensWhat to do
400invalid_versionversion 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, no_champion, version_not_found, bundle_not_registeredmodel is not a specialist; no version was named and none is the champion; your workspace registered no version of that id; or the version has no bundle.Name a version that has one: has_bundle in GET /v1/models/{model}/versions.

Examples

With laya-link-scorer in place of MODEL; the bundle is cut to its manifest's version here:

sh
curl -s "https://weights.fyi/run/v1/models/MODEL/bundle?version=2026-11-02.1" -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{
  "object": "model.bundle",
  "model": "laya-link-scorer",
  "version_id": "2026-11-02.1",
  "recipe": "laya-specialist/v1",
  "aliases": ["champion"],
  "model_sha256": "0e9d03893cf9b487b46c69b99a496bc5859890f184509f4a97d5cc1f3bb3cb8f",
  "weights_sha256": "831b6f101815b4590022ea3ffed074ed5af35cfca7ecf93dda70861e50e913e4",
  "dataset_sha256": "5f2c1b9e8a7d6c4b3a29180f7e6d5c4b3a2918f7e6d5c4b3a29180f7e6d5c4b3",
  "bundle": {"manifest": {"version": "2026-11-02.1"}}
}

History

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

See also