---
title: "GET /{baseId}/ai/config"
method: GET
path: "/{baseId}/ai/config"
tags: ["ai"]
---

# GET /{baseId}/ai/config

`GET /{baseId}/ai/config`

Get the configuration of ai, including instance and space configuration

## Path parameters

- `baseId` string, required

## Response `200`

Returns the configuration of ai.

- object
  - `llmProviders` 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
    - `baseUrl` string, uri
    - `models` string
    - `isInstance` boolean
    - `modelConfigs` object
  - `embeddingModel` string
  - `translationModel` string
  - `gatewayModels` object[]
    - `id` string, required
    - `label` string, required
    - `enabled` boolean
    - `capabilities` 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
    - `pricing` object
      - `input` string
      - `output` string
      - `inputCacheRead` string
      - `inputCacheWrite` string
      - `reasoning` string
      - `image` string
      - `webSearch` string
    - `rates` object
      - `inputRate` number
      - `outputRate` number
      - `cacheReadRate` number
      - `cacheWriteRate` number
      - `reasoningRate` number
      - `imageRate` number
      - `webSearchRate` number
    - `isImageModel` boolean
    - `defaultFor` string[]
    - `testedAt` number
    - `ownedBy` 'alibaba' | 'amazon' | 'anthropic' | 'arcee-ai' | 'bfl' | 'bytedance' | 'cohere' | 'deepseek' | 'google' | 'inception' | 'kwaipilot' | 'meituan' | 'meta' | 'minimax' | 'mistral' | 'moonshotai' | 'morph' | 'nvidia' | 'openai' | 'perplexity' | 'prime-intellect' | 'stealth' | 'vercel' | 'voyage' | 'xai' | 'xiaomi' | 'zai'
    - `modelType` 'language' | 'embedding' | 'image'
    - `tags` string[]
    - `contextWindow` number
    - `maxTokens` number
    - `description` string
  - `capabilities` object
    - `disableActions` string[]
  - `aiGatewayApiKey` string
  - `aiGatewayBaseUrl` string, uri
  - `attachmentTest` object
    - `urlMode` object
      - `success` boolean, required
      - `errorMessage` string
    - `base64Mode` object
      - `success` boolean, required
      - `errorMessage` string
    - `testedAt` string
    - `testedOrigin` string
    - `recommendedMode` 'url' | 'base64'
  - `attachmentTransferMode` 'url' | 'base64'
  - `aiGatewayApiKeys` string[]
  - `vertexByokCredential` object
    - `project` string, required
    - `location` string, required
    - `googleCredentials` object, required
      - `privateKey` string, required
      - `clientEmail` string, required
  - `concurrencyGroups` object[]
    - `id` string, required
    - `name` string, required
    - `taskTypes` string[]
    - `keys` object[]
      - `apiKey` string, required
      - `status` 'verified' | 'untested' | 'error'
    - `perKey` number
  - `concurrencyPerKey` number
  - `modelDefinationMap` object
  - `chatModel` object
    - `lg` string
    - `md` string
    - `sm` 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
    - `tags` string[]

---

[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/revisions/7515f3b33d79/schema)
