---
title: "Get detail of the schema"
method: GET
path: "/models/{model_id}/schemas/{schema_id}"
tags: ["model_schema"]
---

# Get detail of the schema

`GET /models/{model_id}/schemas/{schema_id}`

## Path parameters

- `model_id` integer, required
- `schema_id` integer, required

## Response `200`

OK

## Changes

> 34 revisions in range; 4 not diffed, 1 could not be searched.

- **2024-03-01** `d877210ee347` — 2 breaking, 1 warning, 5 info
  - removed the required property `spec/model_prediction_output/oneOf[#/components/schemas/RankingOutput]/prediction_group_id_column` from the response with the `200` status
  - removed the required property `spec/prediction_id_column` from the response with the `200` status
  - removed the optional property `spec/model_prediction_output/oneOf[#/components/schemas/BinaryClassificationOutput]/actual_label_column` from the response with the `200` status
  - added the optional property `spec/feature_orders` to the response with the `200` status
  - …4 more
- **2024-01-26** `ab97b531bbc1` — 3 info
  - the response property `spec/model_prediction_output/oneOf[#/components/schemas/BinaryClassificationOutput]/output_class` became required for the status `200`
  - the response property `spec/model_prediction_output/oneOf[#/components/schemas/RankingOutput]/output_class` became required for the status `200`
  - the response property `spec/model_prediction_output/oneOf[#/components/schemas/RegressionOutput]/output_class` became required for the status `200`
- **2024-01-23** `c3ef0b1c733b` — 1 info
  - endpoint added
- **2023-12-05** `d062ab20ef25` — 1 breaking
  - api path removed without deprecation
- **2020-09-28** `c4b3505de7df` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/caraml-dev/apis/merlin/changes/models/:model_id/schemas/:schema_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/a1e12cbeeebc/schema)
