Update an agent optimization

Update an existing agent optimization. Creates a new version of the optimization.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
optimizationKeystringRequired

Request

Agent optimization fields to update
maxAttemptsintegerOptional
modelChoiceslist of stringsOptional
judgeModelstringOptional
variableChoiceslist of maps from strings to anyOptional
acceptanceStatementslist of objectsOptional
judgeslist of objectsOptional
userInputOptionslist of stringsOptional
groundTruthResponseslist of stringsOptional
metricKeystringOptional

Response

Agent optimization updated
idstring
keystring
aiConfigKeystring
maxAttemptsinteger
modelChoiceslist of strings
judgeModelstring
variableChoiceslist of maps from strings to any
acceptanceStatementslist of objects
judgeslist of objects
userInputOptionslist of strings
groundTruthResponseslist of strings
versioninteger
createdAtlong
_accessobject
metricKeystring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error