Update TrueFoundry admin key, missing users, usage costs or models
Changed onVerifies 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.
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.
Request body
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.
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.
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
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