LLM Providers
Update organization LLM provider
Changed onUpdates 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}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
llmProviderId, string typeid required
Den TypeID with 'lpr_' prefix and a 26-character base32 suffix.
Request body
object required
name, string required
source, 'models_dev' | 'custom' required
providerId, string
modelIds, string[]
customConfigText, string
customConfig, unknown
credentialMode, 'shared' | 'per_member'
apiKey, string
apiKeys, object
memberIds, string[]
teamIds, string[]
allMembers, boolean
Response
Organization LLM provider updated successfully.
Llm Provider Response required
llmProvider, object required
Changes
- info
response property
details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
added the optional property
llmProvider/configRedactedto the response with the status
- info