LLM Providers

Update organization LLM provider

Changed on

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}

Request

  • Base URL
    https://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.

LlmProviderResponse required
llmProvider, object required

Changes

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      added the optional property llmProvider/configRedacted to the response with the status