Update AI Config

Edit an existing AI Config. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { "description": "Example updated description", "tags": ["new-tag"] } ```

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
configKeystringRequired

Request

AI Config object to update
descriptionstringOptional
maintainerIdstringOptional
maintainerTeamKeystringOptional
namestringOptional
tagslist of stringsOptional
evaluationMetricKeystringOptional
Evaluation metric key for this AI Config
isInvertedbooleanOptional
Whether the evaluation metric is inverted, meaning a lower value is better if set as true

Response

AI Config updated
descriptionstring
keystring
namestring
tagslist of strings
versioninteger
variationslist of objects
createdAtlong
updatedAtlong
_accessobject or null
_maintainerobject or null
modeenum or nullDefaults to completion
Allowed values:
evaluationMetricKeystring or null
Evaluation metric key for this AI Config
isInvertedboolean or null
Whether the evaluation metric is inverted, meaning a lower value is better if set as true
evaluationMetricKeyslist of strings or nullDeprecated
List of evaluation metric keys for this AI Config

Errors