Skip to main content
PATCH
Update an agent optimization

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string
required
optimizationKey
string
required

Body

application/json

Agent optimization fields to update

maxAttempts
integer
modelChoices
string[]
judgeModel
string
variableChoices
object[]
acceptanceStatements
object[]
judges
object[]
userInputOptions
string[]
groundTruthResponses
string[]
metricKey
string

Response

Agent optimization updated

id
string
required
key
string
required
aiConfigKey
string
required
maxAttempts
integer
required
modelChoices
string[]
required
judgeModel
string
required
variableChoices
object[]
required
acceptanceStatements
object[]
required
judges
object[]
required
userInputOptions
string[]
required
groundTruthResponses
string[]
required
version
integer
required
createdAt
integer<int64>
required
_access
object
Example:

The location and content type of related resources

Example:
metricKey
string