v3

latestOpenAPI 3.1.02026-08-08298342605.3 KB
LLM Providers

Update organization LLM provider

Updates an existing organization LLM provider, including its provider config, selected models, secret, and access grants. Custom providers accept JSON/JSONC text or an MCP-supplied customConfig object.

patch/v1/llm-providers/{llmProviderId}

Path parameters

llmProviderIdstring typeid required

Den TypeID with 'lpr_' prefix and a 26-character base32 suffix.

Request body

namestring required
source'models_dev' | 'custom' required
providerIdstring
modelIdsstring[]
customConfigTextstring
{"stackTrail":"paths:/v1/llm-providers/{llmProviderId}:patch:requestBody:content:application/json:schema:properties:customConfig","oasType":"schema","type":"unknown"}
apiKeystring
apiKeysobject
memberIdsstring[]
teamIdsstring[]
allMembersboolean

Response

Organization LLM provider updated successfully.

llmProviderobject required