Inference Providers

Sync LiteLLM models and groups

Changed on

Reads 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.

post/v1/inference-providers/{inferenceProviderId}/litellm/sync

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

inferenceProviderId, string typeid required

Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.

Response

Sync LiteLLM models and groups

object required
inferenceProvider, GatewayProviderDetails required
sync, object required

Changes

    • info

      added the optional property inferenceProvider/litellm/signInCheck to the response with the status

    • warning

      added the new oauth_oidc enum value to the inferenceProvider/credentials/items/kind response property for the response status

    • warning

      added the new oidc enum value to the inferenceProvider/litellm/keySource/anyOf[subschema #1] response property for the response status

    2 more changes in this revision