---
title: "Get Custom Model By Name"
method: GET
path: "/models/custom/by-name/{name}"
tags: ["models"]
---

# Get Custom Model By Name

`GET /models/custom/by-name/{name}`

Get a custom language model by its name.

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- GetCustomModelResponse
  - `id` string, uuid, required — The ID of the custom language model
  - `name` string, required — The name of the custom language model
  - `identifier` string, required — The identifier of the custom language model
  - `provider` string, nullable — Provider name
  - `type` string, nullable — Model type: llm, embedding, or image
  - `extra` object — Provider-specific configuration

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required (out of credits)
- `404` — Not Found
- `422` — Request Validation Error

---

[API](https://skmtc.dev/opper/apis/opper-api-v2.md) · [All operations](https://skmtc.dev/opper/apis/opper-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opper/opper-api-v2/revisions/d3ccdaa15678/schema)
