简体中文
Test LLM provider configuration
cURL
curl --request POST \ --url https://app.teable.cn/api/admin/setting/test-llm \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"type":"openai","name":"string","apiKey":"string","baseUrl":"http://example.com","models":""}'
{ "success": true, "response": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Test result
The response is of type object.
object