Skip to main content
GET
/
{baseId}
/
ai
/
config
cURL
curl --request GET \
  --url https://app.teable.ai/api/%7BbaseId%7D/ai/config \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "llmProviders": [],
  "embeddingModel": "<string>",
  "translationModel": "<string>",
  "gatewayModels": [
    {
      "id": "<string>",
      "label": "<string>",
      "enabled": true,
      "capabilities": {
        "image": true,
        "pdf": true,
        "webSearch": true,
        "toolCall": true,
        "reasoning": true,
        "imageGeneration": true
      },
      "pricing": {
        "input": "<string>",
        "output": "<string>",
        "inputCacheRead": "<string>",
        "inputCacheWrite": "<string>",
        "reasoning": "<string>",
        "image": "<string>",
        "webSearch": "<string>"
      },
      "rates": {
        "inputRate": 1,
        "outputRate": 1,
        "cacheReadRate": 1,
        "cacheWriteRate": 1,
        "reasoningRate": 1,
        "imageRate": 1,
        "webSearchRate": 1
      },
      "isImageModel": true,
      "defaultFor": [
        "chatLg"
      ],
      "testedAt": 123,
      "ownedBy": "alibaba",
      "modelType": "language",
      "tags": [
        "reasoning"
      ],
      "contextWindow": 123,
      "maxTokens": 123,
      "description": "<string>"
    }
  ],
  "capabilities": {
    "disableActions": [
      "<string>"
    ]
  },
  "aiGatewayApiKey": "<string>",
  "aiGatewayBaseUrl": "<string>",
  "attachmentTest": {
    "testedAt": "<string>",
    "testedOrigin": "<string>",
    "recommendedMode": "url"
  },
  "attachmentTransferMode": "url",
  "aiGatewayApiKeys": [
    "<string>"
  ],
  "concurrencyGroups": [
    {
      "id": "<string>",
      "name": "<string>",
      "taskTypes": [],
      "keys": [],
      "perKey": 5
    }
  ],
  "concurrencyPerKey": 50.5,
  "modelDefinationMap": {},
  "chatModel": {
    "lg": "<string>",
    "md": "<string>",
    "sm": "<string>",
    "ability": {
      "image": true,
      "pdf": true,
      "webSearch": true,
      "toolCall": true,
      "reasoning": true,
      "imageGeneration": true
    },
    "tags": [
      "reasoning"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required

Response

200 - application/json

Returns the configuration of ai.

llmProviders
object[]
embeddingModel
string
translationModel
string
gatewayModels
object[]
capabilities
object
aiGatewayApiKey
string
aiGatewayBaseUrl
string<uri>
attachmentTest
object
attachmentTransferMode
enum<string>
default:url
Available options:
url,
base64
aiGatewayApiKeys
string[]
vertexByokCredential
object
concurrencyGroups
object[]
concurrencyPerKey
number
Required range: 1 <= x <= 100
modelDefinationMap
object
chatModel
object
Last modified on March 5, 2026