Skip to main content
PATCH
Update TrueFoundry admin key, missing users, usage costs or models

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

inferenceProviderId
string<typeid>
required

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

Required string length: 30

Body

application/json
apiKey
string
Required string length: 1 - 8192
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[] | null

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

Required array length: 1 - 500 elements
Required string length: 1 - 255

Response

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

inferenceProvider
object
required
sync
object
required