Inference Providers

Update TrueFoundry admin key, missing users, usage costs or models

Changed on

Verifies and stores a new TrueFoundry admin key, turns Create missing users in TrueFoundry or Track usage costs in OpenWork on or off, and/or sets which TrueFoundry models people get (modelIds), then syncs. The addresses are fixed; create a new provider to change them. Keys are write-only. Requires the Manage Gateway providers permission and Gateway management; session callers must recently reauthenticate.

patch/v1/inference-providers/{inferenceProviderId}/truefoundry

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.

Request body

object required
apiKey, string
createMissingUsers, boolean

Create missing users in TrueFoundry: when an allowed person's OpenWork email is not a TrueFoundry user, add them to TrueFoundry (default member role, no invite email) and create their token. They get only TrueFoundry's default models until a TrueFoundry admin configures their teams and access.

trackUsageCosts, boolean

Track usage costs in OpenWork: where a TrueFoundry model has public pricing (from its matched models.dev model), price each person's requests at it in OpenWork, so they count towards the person's usage limits and usage tracking. Off by default: TrueFoundry alone budgets these requests.

modelIds, string[] nullable

The TrueFoundry models people get: model ids from availableModels ("Only the ones I pick"), or null for every TrueFoundry model, including ones added later.

Response

Update TrueFoundry admin key, missing users, usage costs or models

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