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
_maintainerobject
modeenumDefaults to completion
Allowed values:
evaluationMetricKeystring
Evaluation metric key for this AI Config
isInvertedboolean
Whether the evaluation metric is inverted, meaning a lower value is better if set as true
dependencieslist of objects
Resources that depend on this AI Config, grouped by type
evaluationMetricKeyslist of stringsDeprecated
List of evaluation metric keys for this AI Config

Errors

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