Get AI model config

Get an AI model config by key.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
modelConfigKeystringRequired

Headers

LD-API-VersionenumRequired
Version of the endpoint.
Allowed values:

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
paramsobject or null
customParamsobject or null
costPerInputTokendouble or null
Cost per input token in USD
costPerOutputTokendouble or null
Cost per output token in USD

Errors