LLM Providers

Create organization LLM provider

Changed on

Creates a new organization-scoped LLM provider from either a models.dev provider template, pasted JSON/JSONC custom configuration, or MCP-supplied customConfig object.

post/v1/llm-providers

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/llm-providers
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

namestring required
source'models_dev' | 'custom' required
providerIdstring
modelIdsstring[]
customConfigTextstring
customConfigunknown
credentialMode'shared' | 'per_member'
apiKeystring
apiKeysobject
memberIdsstring[]
teamIdsstring[]
allMembersboolean

Response

Organization LLM provider created successfully.

Changes