> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.toloka.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# client.models.getVersionContent()

> Get model version download links.

Return the version metadata and a temporary download link for each file in its manifest.

## Signature

Method signature on `client.models`:

```ts theme={null}
getVersionContent(args: {
  modelVersionId: string;
}): Promise<ModelVersionContentDownload>;
```

## Parameters

**modelVersionId** `string` *required*

Model version ID with prefix `mdv.`.

## Returns

`Promise<ModelVersionContentDownload>`

Signed download URLs for one immutable Model Version.

**id** `ModelVersionId` *required*

Model version ID with prefix `mdv.`.

**name** `string` *required*

Name of this model version.

**revision** `number` *required*

Positive revision number of this version within its model.

**content** `object` *required*

Model weights or LoRA adapter and the files that make up this version.

**kind: "lora\_adapter"**

**runtimeBase** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

Catalog base model required to run these weights or this adapter.

**manifest** `ModelVersionManifest` *required*

Files that make up the model version, with sizes and checksums.

See the [HTTP endpoint](https://docs.platform.toloka.ai/docs/api-reference/models/get-model-version-content.md) for the complete schema.

**kind** `"lora_adapter"` *required*

Content kind: `lora_adapter` contains an adapter; `full` contains complete model weights.

**parent** `ModelVersionParent` *required*

Parent model source; may be absent for full weights with no recorded parent.

**type: "base\_model"**

**type** `"base_model"` *required*

Parent source: `base_model` for a catalog model or `model_version` for a published project version.

**baseModelId** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

Catalog base model identifier.

**type: "model\_version"**

**type** `"model_version"` *required*

Parent source: `base_model` for a catalog model or `model_version` for a published project version.

**modelVersionId** `string` *required*

Parent model version ID with prefix `mdv.`.

**kind: "full"**

**runtimeBase** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

Catalog base model required to run these weights or this adapter.

**manifest** `ModelVersionManifest` *required*

Files that make up the model version, with sizes and checksums.

See the [HTTP endpoint](https://docs.platform.toloka.ai/docs/api-reference/models/get-model-version-content.md) for the complete schema.

**kind** `"full"` *required*

Content kind: `lora_adapter` contains an adapter; `full` contains complete model weights.

**parent** `ModelVersionParent`

Parent model source; may be absent for full weights with no recorded parent.

**type: "base\_model"**

**type** `"base_model"` *required*

Parent source: `base_model` for a catalog model or `model_version` for a published project version.

**baseModelId** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

Catalog base model identifier.

**type: "model\_version"**

**type** `"model_version"` *required*

Parent source: `base_model` for a catalog model or `model_version` for a published project version.

**modelVersionId** `string` *required*

Parent model version ID with prefix `mdv.`.

**files** `object[]` *required*

Files in this version, each with a signed download URL.

**Fields**

**path** `string` *required*

Relative file path within the model version; absolute paths and parent-directory segments are not allowed.

**byteSize** `number` *required*

Size of this file in bytes.

**mediaType** `"application/octet-stream" | "application/json"` *required*

File media type: `application/json` for JSON files or `application/octet-stream` for binary files.

**sha256** `string` *required*

SHA-256 checksum of the file, as 64 lowercase hexadecimal characters.

**url** `string` *required*

Signed URL for downloading this file.

## Errors

HTTP errors throw [`PotatoApiError`](https://docs.platform.toloka.ai/docs/sdk/errors). The endpoint documents these error responses:

| Status | Description |
| - | - |
| 429 | Rate limit exceeded |

HTTP endpoint: [`GET /model-versions/{modelVersionId}/content`](https://docs.platform.toloka.ai/docs/api-reference/models/get-model-version-content).

```ts getVersionContent() theme={null}
import { createClient } from "@toloka-platform/sdk";

const client = createClient({
  baseUrl: "https://platform.toloka.ai",
  apiKey: process.env.TOLOKA_API_KEY!,
});

const download = await client.models.getVersionContent({
  modelVersionId: "mdv.019a0000-0000-7000-8000-000000000001"
});
console.log(download);
```

```json getVersionContent() theme={null}
{
  "id": "mdv.019a0000-0000-7000-8000-000000000001",
  "name": "<string>",
  "revision": 1,
  "content": {
    "runtimeBase": "qwen3-4b",
    "manifest": [
      {
        "path": "example",
        "byteSize": 0,
        "mediaType": "application/octet-stream",
        "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      }
    ],
    "kind": "lora_adapter",
    "parent": {
      "type": "base_model",
      "baseModelId": "qwen3-4b"
    }
  },
  "files": [
    {
      "path": "example",
      "byteSize": 0,
      "mediaType": "application/octet-stream",
      "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://example.com/resource"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.