Skip to main content
GET
/
api
/
v1
/
provider
/
models
/
llm
/
{model_uuid}
Get a specific LLM model
curl --request GET \
  --url http://localhost:5300/api/v1/provider/models/llm/{model_uuid} \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "model": {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "GPT-4",
      "description": "OpenAI GPT-4 model",
      "requester": "openai-chat-completions",
      "requester_config": {
        "model": "gpt-4",
        "args": {}
      },
      "api_keys": [
        {
          "name": "<string>",
          "keys": [
            "<string>"
          ]
        }
      ],
      "abilities": [
        "chat",
        "vision"
      ],
      "extra_args": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

X-API-Key
string
header
required

API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here

Path Parameters

model_uuid
string<uuid>
required

Model UUID

Response

Successful response

code
integer
Example:

0

msg
string
Example:

"ok"

data
object