POST
/
admin
/
setting
/
test-llm
shell
curl --request POST \
  --url https://app.teable.io/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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Test result

The response is of type object.