v2

OpenAPI 3.1.02026-08-05298342605.2 KB
LLM Providers

Create organization LLM provider

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 body

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

Response

Organization LLM provider created successfully.

llmProviderobject required