Create LiteLLM gateway provider
Changed onConnects the organization's own LiteLLM proxy and syncs its models. mode=org stores one organization LiteLLM key used for everyone, creates an "All LiteLLM models" group granted to the given audiences, and keeps OpenWork spend tracking and limits on. mode=member stores a LiteLLM admin key used only to sync models and teams; each person then connects their own LiteLLM key, which picks the shared group matching that key's models. The given audiences are granted the empty "Can connect a LiteLLM key" group, and OpenWork spend tracking is off because LiteLLM budgets those keys. Keys are write-only. Requires the Manage Gateway providers permission and Gateway management; session callers must recently reauthenticate.
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/inference-providers/litellm
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Response
Create LiteLLM gateway provider
Changes
- info
added the required property
/to the response with the status
- info
- info
added the optional property
/to the response with the status
- info