---
title: "Get Schema"
method: GET
path: "/v1/models/{model_id}/schema"
tags: ["inference"]
---

# Get Schema

`GET /v1/models/{model_id}/schema`

Return the persisted schema manifest for a model.

Served directly from S3 (``orgs/{org_id}/models/{model_id}/schema.json``) --
no model load required. Raises if the manifest is missing, since every
persisted model writes one.

## Path parameters

- `model_id` string, uuid, required

## Response `200`

Successful Response

- SchemaManifest — The model input schema returned by the API and stored with the model.
  - `feature_names` string[], required
  - `columns` object, required
  - `target` SchemaTarget, required
    - `dtype` 'float' | 'int' | 'bool', required
  - `is_sequence` boolean
  - `id_column` string, nullable
  - `timestamp_column` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outerproduct/apis/outerproduct-api.md) · [All operations](https://skmtc.net/outerproduct/apis/outerproduct-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outerproduct/outerproduct-api/revisions/6c6e81fb3282/schema)
