---
title: "Retrieve Model"
method: GET
path: "/v1/models/{model_id}"
tags: ["anthropic-compat"]
---

# Retrieve Model

`GET /v1/models/{model_id}`

Retrieve metadata for a single Anthropic-compatible model.

The ``:path`` converter is required because our runtime catalog ships model
IDs containing slashes (e.g. ``qwen/qwen3-8b``). Without it, FastAPI's default
single-segment path param matcher 404s every such request — breaking
``openai.OpenAI(...).models.retrieve("qwen/qwen3-8b")`` and
``anthropic.Anthropic(...).models.retrieve("qwen/qwen3-8b")`` for real SDK
users.

Args:
    model_id: Requested model identifier (may contain ``/``).
    auth: Authentication result.

Returns:
    Combined Anthropic-compatible and Codex/OpenAI-compatible model metadata.

Raises:
    HTTPException: If the model ID is not in the runtime catalog.

## Path parameters

- `model_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
