Skip to main content
post/ai-providers
Request example
Response
post/ai-providers

Authorization

x-api-keystringheaderrequired#
The API key to authenticate requests.

2 alternative authorization methods available — see the spec for details.

Body

application/json
labelstringrequired#

Length: min 1

providerenum<string>required#
Options:openaianthropicgeminivercel-ai-gatewayopenroutermistralcoherexaigroqdeepseektogetheraifireworkscerebrasperplexityollamaopenai-compatible
modelstringrequired#

Length: min 1

baseURLstring#
apiKeystringrequired#

Responses

application/json
OK
managedbooleanrequired#
idstringrequired#
labelstringrequired#
providerenum<string>required#
Options:openaianthropicgeminivercel-ai-gatewayopenroutermistralcoherexaigroqdeepseektogetheraifireworkscerebrasperplexityollamaopenai-compatible
modelstringrequired#
baseURLstring · nullrequired#
enabledbooleanrequired#
isDefaultbooleanrequired#
testStatusstringrequired#
testErrorstring · nullrequired#
apiKeyPreviewstringrequired#
apiKeyFingerprintstringrequired#
lastTestedAtstring · nullrequired#
lastUsedAtstring · nullrequired#
createdAtstringrequired#
updatedAtstringrequired#