Inference Providers

Sync TrueFoundry models and people

Changed on

Reads the tenant's chat models with the stored TrueFoundry admin key, then for every allowed person rechecks their token's models, creates a token for people who have none yet (adding missing TrueFoundry users when createMissingUsers is on), and deletes the tokens of people who lost access or left. A failed catalog read keeps the last synced models and records the error. Requires the Manage Gateway providers permission and Gateway management.

post/v1/inference-providers/{inferenceProviderId}/truefoundry/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 TrueFoundry models and people

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