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
_accessobject or null
iconstring or null
Icon for the model
providerstring or null
Provider for the model
paramsmap from strings to any or null
customParamsmap from strings to any or null
costPerInputTokendouble or null
Cost per input token in USD
costPerOutputTokendouble or null
Cost per output token in USD

Errors