跳转到主要内容
POST
/
admin
/
setting
/
batch-test-llm
cURL
curl --request POST \
  --url https://app.teable.ai/api/admin/setting/batch-test-llm \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"providers":[{"type":"openai","name":"string","apiKey":"string","baseUrl":"http://example.com","models":"","isInstance":true}]}'
{
  "totalModels": 123,
  "testedModels": 123,
  "successCount": 123,
  "failedCount": 123,
  "results": [
    {
      "modelKey": "<string>",
      "providerName": "<string>",
      "providerType": "openai",
      "model": "<string>",
      "success": true,
      "error": "<string>",
      "ability": {
        "image": true,
        "pdf": true,
        "webSearch": true,
        "toolCall": true,
        "reasoning": true,
        "imageGeneration": true
      }
    }
  ]
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
providers
object[]

响应

200 - application/json

Batch test results

totalModels
number
必填
testedModels
number
必填
successCount
number
必填
failedCount
number
必填
results
object[]
必填
Last modified on March 5, 2026