LLM Providers

Apply llm-providers by stable key

Changed on

Creates or replaces an organization-scoped resource. Names do not identify resources; existing unkeyed resources are never adopted automatically. Assignments are replaced. Omitted write-only secrets are preserved. Concurrent writes are last-write-wins; conditional headers are not supported on this route.

put/v1/llm-providers/by-key/{externalKey}

Request

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

Path parameters

externalKeystring required

Request body

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

Response

The existing resource was replaced.

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 / to the response with the status

    • info

      added the optional property / to the response with the status