---
title: "POST /admin/setting/test-llm"
method: POST
path: "/admin/setting/test-llm"
tags: ["admin", "setting"]
---

# POST /admin/setting/test-llm

`POST /admin/setting/test-llm`

Test LLM provider configuration

## Request body

- object
  - `type` 'openai' | 'anthropic' | 'google' | 'azure' | 'cohere' | 'mistral' | 'deepseek' | 'qwen' | 'zhipu' | 'lingyiwanwu' | 'xai' | 'togetherai' | 'ollama' | 'amazonBedrock' | 'openRouter' | 'openaiCompatible' | 'aiGateway', required
  - `name` string, required
  - `apiKey` string, required
  - `baseUrl` string, uri, required
  - `models` string
  - `modelKey` string
  - `ability` string[]
  - `testImageGeneration` boolean
  - `testImageToImage` boolean

## Response `200`

Test result

- object
  - `success` boolean, required
  - `response` string
  - `ability` object
    - `image` union
      - boolean
      - object
        - `url` boolean
        - `base64` boolean
    - `pdf` union
      - boolean
      - object
        - `url` boolean
        - `base64` boolean
    - `webSearch` boolean
    - `toolCall` boolean
    - `reasoning` boolean
    - `imageGeneration` boolean

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/versions/7515f3b33d79/schema)
