> ## 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.getVersion()

> Get a model version.

Return the immutable version metadata, file manifest, and source training run.

## Signature

Method signature on `client.models`:

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

## Parameters

**modelVersionId** `string` *required*

Model version ID with prefix `mdv.`.

## Returns

`Promise<ModelVersion>`

One immutable version of a project Model.

**id** `ModelVersionId` *required*

Model version ID with prefix `mdv.`.

**modelId** `ModelId` *required*

Model ID with prefix `mdl.`.

**name** `string` *required*

Name of this model version.

**revision** `number` *required*

Positive revision number assigned to this version within its model.

**content** `object` *required*

Model weights or LoRA adapter, its base model, parent, and file manifest.

**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.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.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.`.

**producer** `object` *required*

Training run that produced this model version.

**Fields**

**type** `"training_run"` *required*

Producer kind; `training_run` means this version was produced by a training run.

**trainingRunId** `string` *required*

ID of the training run that produced the version, with prefix `trn.`.

**createdAt** `string` *required*

Time the model version was created, as an ISO 8601 timestamp.

## 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}`](https://docs.platform.toloka.ai/docs/api-reference/models/get-model-version).

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

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

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

```json getVersion() theme={null}
{
  "id": "mdv.019a0000-0000-7000-8000-000000000001",
  "modelId": "mdl.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"
    }
  },
  "producer": {
    "type": "training_run",
    "trainingRunId": "trn.019a0000-0000-7000-8000-000000000001"
  },
  "createdAt": "2026-01-01T00:00:00Z"
}
```


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