v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
LlmSetting

Update LLM settings

Update fields of an existing LLM settings entry.

patch/llm/settings/{settings_id}

Path parameters

settings_idinteger required

ID of the LLM settings entry to update.

ID of the LLM settings entry to update.

Query parameters

cookie_namestring nullable

Request body

llm_catalog_idinteger nullable

ID of the catalog model these settings configure.

providerstring nullable

Provider backing the model.

librarystring nullable

Client library used to call the provider.

max_tokensinteger nullable

Maximum tokens allowed per request for this model.

regionstring nullable

Provider region hosting the deployment.

argsobject nullable

Extra provider-specific arguments passed to the client.

openai_resourcestring nullable

Azure OpenAI resource name.

api_versionstring nullable

Provider API version to target.

deployment_namestring nullable

Provider deployment name for the model.

endpointstring nullable

Base URL of the provider endpoint.

api_keystring nullable

Secret API key used to authenticate with the provider.

Example request

{
  "llm_catalog_id": 1,
  "provider": "azure",
  "library": "openai",
  "max_tokens": 128000,
  "region": "westeurope",
  "args": {
    "temperature": 0.2
  },
  "openai_resource": "my-openai-resource",
  "api_version": "2024-02-01",
  "deployment_name": "gpt-4o-deployment",
  "endpoint": "https://my-resource.openai.azure.com",
  "api_key": "sk-..."
}

Response

Successful Response

{"stackTrail":"paths:/llm/settings/{settings_id}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}