Skip to main content
PATCH
Update model gateway id

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Body

application/json
name
string
isActive
Available options:
false
backend
Available options:
local
isDefault
Available options:
false
baseUrl
string
allowedUseCases
enum<string>[]
Available options:
embedding
dataPolicy
string
requireZdr
Available options:
false
requireCalibrationForJudge
Available options:
false
fallbackEnabled
Available options:
false
fallbackMaxAttempts
number
maxCostPerRequest
string
maxCostPerRun
string
maxCostPerDay
string
maxCostPerMonth
string

Response

Successful response

id
number
required
organizationId
string<uuid>
required
backend
string
required
name
string
required
baseUrl
string
required
keyPrefix
string
required
keyVersion
number
required
isActive
boolean
required
isDefault
boolean
required
allowedUseCases
string[]
required
dataPolicy
null | string
required
requireZdr
boolean
required
requireCalibrationForJudge
boolean
required
fallbackEnabled
boolean
required
fallbackMaxAttempts
number
required
maxCostPerRequest
null | string
required
maxCostPerRun
null | string
required
maxCostPerDay
null | string
required
maxCostPerMonth
null | string
required
lastHealthCheckAt
null | string
required
lastHealthCheckStatus
null | string
required
lastHealthCheckError
null | string
required
createdAt
string
required
updatedAt
string
required