Skip to main content
POST
Create model gateway rotate key

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
apiKey
string
required

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