/api/llm

PUT /api/llm/providers/{key}

Changed on

Update a provider connection. Secret fields the client echoes back masked keep their stored value.

put/api/llm/providers/{key}

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

keystring required

Request body

configobject nullable

Value must be a map.

modelstring nullable
namestring nullable

Response

Successful response

configobject required
env_fieldsstring[] required
env_varsstring[] required
keystring required
namestring required
source'db' | 'env' required
typestring required
usableboolean required

Changes