Retrieve a model
GET/v1/models/{model}
One model by id, including ids that contain slashes.
One row of the model list, by id. The path takes the whole id, slashes included, so GET /v1/models/anthropic/claude-opus-5 works, and so do /v1/models/auto and /v1/models/memtro. The row has no limit, and is not filtered by the model lock.
Example
Against https://platform.memtro.com, with your key in MEMTRO_API_KEY.
curl https://platform.memtro.com/v1/models/anthropic/claude-opus-5 \
-H "Authorization: Bearer $MEMTRO_API_KEY"
from openai import OpenAI
client = OpenAI(base_url="https://platform.memtro.com/v1", api_key="sk-memtro-…")
print(client.models.retrieve("anthropic/claude-opus-5"))
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://platform.memtro.com/v1", apiKey: process.env.MEMTRO_API_KEY });
console.log(await client.models.retrieve("anthropic/claude-opus-5"));
The response.
{ "id": "anthropic/claude-opus-5", "object": "model", "created": 1794470400, "owned_by": "anthropic", "type": "model", "display_name": "anthropic/claude-opus-5", "created_at": "2026-11-12T00:00:00.000Z" }
Authentication
An API key, as Authorization: Bearer or x-api-key.
- This route sets no request id header.
- It sends no CORS headers, so a page on another origin cannot call it; call it from a server.
Path parameters
modelstringRequiredThe model id. It may contain
/.
Response
200application/json
One model: id, object, created, owned_by, type, display_name, created_at, as in List models.
Errors
In the OpenAI envelope, {"error": {"message", "type", "param", "code"}}. What each code means and what to do about it is in the error catalogue.
| Status | Code | When |
|---|---|---|
| 401 | invalid_api_key | The key is missing, malformed, revoked or expired. |
| 402 | subscription_inactive | The organisation has no active subscription. |
| 404 | model_not_found | No model with that id is available to this key. |
| 500 | none | An internal error. |