Skip to main content
POST
Test an inference gateway provider before adding it

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
providerId
string
required
Required string length: 1 - 255
model
string
required
Required string length: 1 - 255
settings
object
credential
object
apiKeys
object
reuseCredentialFrom
string<typeid>

Amazon Bedrock only: copy the organization AWS keys of another Amazon Bedrock provider in this organization, server-side. Mutually exclusive with credential and apiKeys.

Required string length: 30

Response

Test an inference gateway provider before adding it

ok
boolean
required
model
string
required
status
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
code
string | null
required
message
string | null
required