---
title: "Get version by ID from model"
method: GET
path: "/models/{model_id}/versions/{version_id}"
tags: ["version"]
---

# Get version by ID from model

`GET /models/{model_id}/versions/{version_id}`

## Path parameters

- `model_id` integer, required
- `version_id` integer, required

## Response `200`

OK

## Other responses

- `404` — Model with given `model_id` not found

## Changes

- **2024-01-26** `ab97b531bbc1` — 3 info
  - the response property `model_schema/spec/model_prediction_output/oneOf[#/components/schemas/BinaryClassificationOutput]/output_class` became required for the status `200`
  - the response property `model_schema/spec/model_prediction_output/oneOf[#/components/schemas/RankingOutput]/output_class` became required for the status `200`
  - the response property `model_schema/spec/model_prediction_output/oneOf[#/components/schemas/RegressionOutput]/output_class` became required for the status `200`
- **2024-01-23** `c3ef0b1c733b` — 1 info
  - added the media type `*/*` for the response with the status `200`
- **2023-12-05** `d062ab20ef25` — 1 breaking
  - removed the media type `*/*` for the response with the status `200`
- **2021-01-08** `bd7c2eaf05f4` — 1 info
  - endpoint added
- **2020-09-28** `c4b3505de7df` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/caraml-dev/apis/merlin/changes/models/:model_id/versions/:version_id/get.md)

---

[API](https://skmtc.dev/caraml-dev/apis/merlin.md) · [All operations](https://skmtc.dev/caraml-dev/apis/merlin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caraml-dev/merlin/revisions/ab97b531bbc1/schema)
