Create an AI model config

POST
/api/v2/projects/:projectKey/ai-configs/model-configs

Create an AI model config. You can use this in any variation for any AI config in your project.

Path parameters

projectKeystringRequired

Headers

LD-API-Version"beta"Required

Version of the endpoint.

Request

This endpoint expects an object.
namestringRequired

Human readable name of the model

keystringRequired

Unique key for the model

idstringRequired

Identifier for the model, for use with third party providers

iconstringOptional

Icon for the model

providerstringOptional

Provider for the model

paramsmap from strings to anyOptional
customParamsmap from strings to anyOptional
tagslist of stringsOptional

Response

Successful response

namestring

Human readable name of the model

keystring

Unique key for the model

idstring

Identifier for the model, for use with third party providers

globalboolean

Whether the model is global

tagslist of strings
versioninteger
_accessobjectOptional
iconstringOptional

Icon for the model

providerstringOptional

Provider for the model

paramsmap from strings to anyOptional
customParamsmap from strings to anyOptional

Errors

Built with