Create agent optimization

Create a new agent optimization within the given project.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired

Request

Agent optimization object to create
keystringRequired
aiConfigKeystringRequired
maxAttemptsintegerRequired
judgeModelstringRequired
modelChoiceslist of stringsOptional
variableChoiceslist of maps from strings to anyOptional
acceptanceStatementslist of objectsOptional
judgeslist of objectsOptional
userInputOptionslist of stringsOptional
groundTruthResponseslist of stringsOptional
metricKeystringOptional

Response

Agent optimization created
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
409
Conflict Error
500
Internal Server Error