Skip to main content
GET
/
models
/
custom
/
by-name
/
{name}
Get Custom Model By Name
import requests

url = "https://api.opper.ai/v2/models/custom/by-name/{name}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "identifier": "<string>",
  "extra": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

Response

Successful Response

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

extra
Extra · object

Extra metadata about the custom language model