GET
/
space
/
{spaceId}
/
public
/
ai-setting
shell
curl --request GET \
  --url https://app.teable.ai/api/space/%7BspaceId%7D/public/ai-setting \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "chatModel": {
    "lg": "<string>",
    "md": "<string>",
    "sm": "<string>",
    "ability": {
      "image": true,
      "pdf": true,
      "webSearch": true
    }
  },
  "enable": true,
  "llmProviders": [
    {
      "type": "openai",
      "name": "<string>",
      "models": ""
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

spaceId
string
required

Response

200 - application/json

Returns the public ai setting.

The response is of type object.