Sync LiteLLM models and groups
Changed onReads the LiteLLM proxy with the stored organization key (org mode) or admin key (member mode) and refreshes the provider's models. A provider whose members sign in with Microsoft has no key to read the proxy with and answers 409 litellm_sync_unavailable; change its modelIds with PATCH instead. Org mode refreshes the "All LiteLLM models" group. Member mode refreshes team groups, re-checks every connected member key, moves members to the group matching their key's models, revokes keys LiteLLM rejects, and removes automatic grants of people who may no longer connect. A failed read keeps the last synced catalog and records the error. Requires the Manage Gateway providers permission and Gateway management.
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.
Response
Sync LiteLLM models and groups
Changes
- info
added the optional property
inferenceProvider/litellm/signInCheckto the response with the status
- info
- warning
added the new
oauth_oidcenum value to theinferenceProvider/credentials/items/kindresponse property for the response status - warning
added the new
oidcenum value to theinferenceProvider/litellm/keySource/anyOf[subschema #1]response property for the response status
2 more changes in this revision
- warning