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. 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
  • URL: https://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/litellm/sync
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

inferenceProviderIdstring typeid required

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

Response

Sync LiteLLM models and groups

Changes

    • info

      added the required property / to the response with the status

    • info

      added the optional property / to the response with the status