Skip to main content
POST
Create TrueFoundry gateway provider

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.

Body

application/json
controlPlaneUrl
string
required

The address people open TrueFoundry at, e.g. https://acme.truefoundry.cloud.

Required string length: 1 - 2048
apiKey
string
required

A TrueFoundry virtual account token with the tenant admin role. Write-only; never a personal access token.

Required string length: 1 - 8192
name
string
default:TrueFoundry
Required string length: 1 - 255
gatewayUrl
string

The TrueFoundry AI Gateway base URL when it is not /api/llm.

Required string length: 1 - 2048
createMissingUsers
boolean
default:false

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
default:false

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.

allMembers
boolean
memberIds
string<typeid>[]
Maximum array length: 500

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

Required string length: 29
teamIds
string<typeid>[]
Maximum array length: 500

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

Required string length: 30

Response

Create TrueFoundry gateway provider

inferenceProvider
object
required
sync
object
required