---
title: "model_schema_model_schema_get"
method: GET
path: "/model/schema"
---

# model_schema_model_schema_get

`GET /model/schema`

## Request

- Base URL: `https://www.example.com`
- URL: `https://www.example.com/model/schema`
- Auth: none declared
- TypeScript: <https://skmtc.dev/h2o/apis/mlops-scoring-rest-api/docs/model/schema/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns information about the model used for scoring, e.g., input schema.

## Response `200`

Successful Response

- Model
  - `id` string
  - `name` string
  - `description` string
  - `properties` ModelProperties
    - `scoringType` 'REGRESSION' | 'CLASSIFICATION' | 'BINOMIAL': Enumeration of the supported scoring types.
    - `scoringResponseLabels` string[]
  - `schema` ModelSchema, required
    - `inputFields` DataField[]
      - `name` string, required
      - `dataType` 'Bool' | 'Bytes' | 'Int32' | 'Int64' | 'Float32' | 'Float64' | 'Str' | 'Time64', required: Enumeration of the supported input and output data types.
    - `outputFields` DataField[]
      - `name` string, required
      - `dataType` 'Bool' | 'Bytes' | 'Int32' | 'Int64' | 'Float32' | 'Float64' | 'Str' | 'Time64', required: Enumeration of the supported input and output data types.

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/h2o/apis/mlops-scoring-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/mlops-scoring-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/mlops-scoring-rest-api/revisions/a1b84d5b62f7?raw)
