Skip to main content
GET
Get Schema

Authorizations

Authorization
string
header
required

An API key or OAuth2/OIDC access token sent as Authorization: Bearer <token>.

Path Parameters

model_id
string<uuid>
required

Response

Successful Response

Sidecar at traces/{org}/{model}/schema.json.

Written by api.schemas.builder.build_schema_manifest_from_schema after training; read by the inference server when materializing a request DataFrame so categorical codes line up with what the model was trained on. The public HTTP response for GET /schema is served from this type directly — the on-disk sidecar and HTTP shape share one definition because they're identical.

feature_names
string[]
required
columns
Columns · object
required
target
SchemaTarget · object
required
is_sequence
boolean
default:false
id_column
string | null
timestamp_column
string | null