Create new AI Config

Create a new AI Config within the given project.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired

Request

AI Config object to create
keystringRequired
namestringRequired
descriptionstringOptionalDefaults to
maintainerIdstringOptional
maintainerTeamKeystringOptional
modeenumOptionalDefaults to completion
Allowed values:
tagslist of stringsOptional
defaultVariationobjectOptional
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 created
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
429
Too Many Requests Error
500
Internal Server Error