Skip to main content
PUT
/
api
/
v1
/
provider
/
models
/
llm
/
{model_uuid}
Update an LLM model
curl --request PUT \
  --url http://localhost:5300/api/v1/provider/models/llm/{model_uuid} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "requester_config": {},
  "api_keys": [
    {}
  ],
  "abilities": [
    "<string>"
  ],
  "extra_args": {}
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {}
}

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

Body

application/json
name
string
description
string
requester_config
object
api_keys
object[]
abilities
string[]
extra_args
object

Response

Model updated successfully

code
integer
Example:

0

msg
string
Example:

"ok"

data
object