---
title: "Ollama-dialect per-model detail — successor: GET /v1/models/installed"
method: POST
path: "/legacy/ollama/api/show"
tags: ["Legacy: Ollama-compatible API"]
deprecated: true
---

# Ollama-dialect per-model detail — successor: GET /v1/models/installed

`POST /legacy/ollama/api/show`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/legacy/ollama/api/show`
- Auth: HTTP bearer

> **Deprecated.**

Accepts both the `model` and legacy `name` request keys (first-non-empty wins — the 0.30.x CLI sends an empty `model` beside `name`). license/modelfile/parameters/template are empty by design: Modelfile semantics do not exist here.

## Request body

- object
  - `model` string
  - `name` string: Legacy request key; `model` wins when both are non-empty

## Response `200`

Model detail

- object
  - `capabilities` string[]
  - `details` object
  - `model_info` object
  - `license` string
  - `modelfile` string
  - `parameters` string
  - `template` string

## Other responses

- `404`: Model not found (Ollama-shaped error envelope)

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
