Skip to main content
POST
Create custom OpenAI-compatible 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
name
string
required
Required string length: 1 - 255
baseUrl
string
required
Required string length: 1 - 2048
apiKey
string
required
Required string length: 1 - 8192
models
object[]
required
Required array length: 1 - 500 elements
discoveryStatus
enum<string>
Available options:
detailed,
basic,
unavailable
listedModelIds
string[]
Maximum array length: 500
Required string length: 1 - 255
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 custom OpenAI-compatible gateway provider

inferenceProvider
object
required