---
title: "Get Model Metadata Endpoint"
method: GET
path: "/metadata/model"
tags: ["metadata"]
---

# Get Model Metadata Endpoint

`GET /metadata/model`

Get model metadata by fetching config from database.

Parameters
----------
model_id : str
    ID of the model
organization_id : str
    Organization ID (from header)
model_repo : ModelRepository
    Model repository dependency
supabase : Client
    Supabase client for loading custom models from storage

Returns
-------
ModelMetadata
    Model metadata with required parameters and groups

## Query parameters

- `model_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
