Get AI model config

Get an AI model config by key.

Path parameters

projectKeystringRequired
modelConfigKeystringRequired

Headers

AuthorizationstringRequired
LD-API-Version"beta"Required
Version of the endpoint.

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
isRestrictedboolean
Whether the model is restricted
_accessobjectOptional
iconstringOptional
Icon for the model
providerstringOptional
Provider for the model
paramsmap from strings to anyOptional
customParamsmap from strings to anyOptional
costPerInputTokendoubleOptional
Cost per input token in USD
costPerOutputTokendoubleOptional
Cost per output token in USD

Errors