Skip to main content
PATCH
Update model gateway id

Authorizations

Authorization
string
header
required

Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.

Path Parameters

id
integer
required

Body

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

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