v1

latestOpenAPI 3.0.02026-07-2638801.8 MB
admin
setting

Test LLM provider configuration

post/admin/setting/test-llm

Request body

type'openai' | 'anthropic' | 'google' | 'azure' | 'cohere' | 'mistral' | 'deepseek' | 'qwen' | 'zhipu' | 'lingyiwanwu' | 'xai' | 'togetherai' | 'ollama' | 'amazonBedrock' | 'openRouter' | 'openaiCompatible' | 'aiGateway' required
namestring required
apiKeystring required
baseUrlstring uri required
modelsstring
modelKeystring
abilitystring[]
testImageGenerationboolean
testImageToImageboolean

Response

Test result

successboolean required
responsestring