cURL
curl --request GET \ --url http://localhost:5300/api/v1/provider/models/llm/{model_uuid} \ --header 'X-API-Key: <api-key>'
200
Example
{ "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" } } }
Retrieve details of a specific LLM model by UUID
API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
Model UUID
Successful response
0
"ok"
表示 子属性