cURL
curl --request GET \
--url https://app.teable.ai/api/admin/setting/publicconst url = 'https://app.teable.ai/api/admin/setting/public';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}const http = require('https');
const options = {
method: 'GET',
hostname: 'app.teable.ai',
port: null,
path: '/api/admin/setting/public',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();import http.client
conn = http.client.HTTPSConnection("app.teable.ai")
conn.request("GET", "/api/admin/setting/public")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.teable.ai/api/admin/setting/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.teable.ai/api/admin/setting/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.teable.ai/api/admin/setting/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.teable.ai/api/admin/setting/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"instanceId": "<string>",
"aiConfig": {
"enable": true,
"llmProviders": [
{
"type": "openai",
"name": "<string>",
"models": "",
"isInstance": true,
"modelConfigs": {}
}
],
"chatModel": {
"xl": "<string>",
"lg": "<string>",
"md": "<string>",
"sm": "<string>",
"ability": {
"image": true,
"pdf": true,
"webSearch": true,
"toolCall": true,
"reasoning": true,
"imageGeneration": true
},
"hiddenTiers": [
"xl"
],
"defaultTier": "xl"
},
"capabilities": {
"disableActions": [
"<string>"
],
"disableModelSelection": true
},
"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>",
"inputTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"outputTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"inputCacheReadTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"inputCacheWriteTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
]
},
"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": [
"<string>"
],
"contextWindow": 123,
"maxTokens": 123,
"description": "<string>",
"i18nDescription": {
"en": "<string>",
"zh": "<string>"
},
"recommended": true,
"recommendedDescription": {
"en": "<string>",
"zh": "<string>"
}
}
],
"voiceInput": {
"enabled": true,
"model": "gpt-4o-mini-transcribe",
"maxSessionDurationSec": 123
}
},
"brandName": "<string>",
"brandLogo": "<string>",
"disallowSignUp": true,
"disallowSpaceCreation": true,
"disallowSpaceInvitation": true,
"disallowDashboard": true,
"enableEmailVerification": true,
"enableWaitlist": true,
"createdTime": "<string>",
"appGenerationEnabled": true,
"turnstileSiteKey": "<string>",
"changeEmailSendCodeMailRate": 123,
"resetPasswordSendMailRate": 123,
"signupVerificationSendCodeMailRate": 123,
"emailCodeSigninEnabled": true,
"enableCreditReward": true,
"availableIntegrationProviders": [
"<string>"
],
"githubAppConfigured": true,
"mobileAuthExchange": true,
"socialAuthProviders": [
"<string>"
],
"passwordLoginDisabled": true,
"scrapeEnabled": true,
"buildVersion": "<string>"
}admin
Get adminsettingpublic
Get the public instance settings
GET
/
admin
/
setting
/
public
cURL
curl --request GET \
--url https://app.teable.ai/api/admin/setting/publicconst url = 'https://app.teable.ai/api/admin/setting/public';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}const http = require('https');
const options = {
method: 'GET',
hostname: 'app.teable.ai',
port: null,
path: '/api/admin/setting/public',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();import http.client
conn = http.client.HTTPSConnection("app.teable.ai")
conn.request("GET", "/api/admin/setting/public")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.teable.ai/api/admin/setting/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.teable.ai/api/admin/setting/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.teable.ai/api/admin/setting/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.teable.ai/api/admin/setting/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"instanceId": "<string>",
"aiConfig": {
"enable": true,
"llmProviders": [
{
"type": "openai",
"name": "<string>",
"models": "",
"isInstance": true,
"modelConfigs": {}
}
],
"chatModel": {
"xl": "<string>",
"lg": "<string>",
"md": "<string>",
"sm": "<string>",
"ability": {
"image": true,
"pdf": true,
"webSearch": true,
"toolCall": true,
"reasoning": true,
"imageGeneration": true
},
"hiddenTiers": [
"xl"
],
"defaultTier": "xl"
},
"capabilities": {
"disableActions": [
"<string>"
],
"disableModelSelection": true
},
"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>",
"inputTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"outputTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"inputCacheReadTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
],
"inputCacheWriteTiers": [
{
"cost": "<string>",
"min": 123,
"max": 123
}
]
},
"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": [
"<string>"
],
"contextWindow": 123,
"maxTokens": 123,
"description": "<string>",
"i18nDescription": {
"en": "<string>",
"zh": "<string>"
},
"recommended": true,
"recommendedDescription": {
"en": "<string>",
"zh": "<string>"
}
}
],
"voiceInput": {
"enabled": true,
"model": "gpt-4o-mini-transcribe",
"maxSessionDurationSec": 123
}
},
"brandName": "<string>",
"brandLogo": "<string>",
"disallowSignUp": true,
"disallowSpaceCreation": true,
"disallowSpaceInvitation": true,
"disallowDashboard": true,
"enableEmailVerification": true,
"enableWaitlist": true,
"createdTime": "<string>",
"appGenerationEnabled": true,
"turnstileSiteKey": "<string>",
"changeEmailSendCodeMailRate": 123,
"resetPasswordSendMailRate": 123,
"signupVerificationSendCodeMailRate": 123,
"emailCodeSigninEnabled": true,
"enableCreditReward": true,
"availableIntegrationProviders": [
"<string>"
],
"githubAppConfigured": true,
"mobileAuthExchange": true,
"socialAuthProviders": [
"<string>"
],
"passwordLoginDisabled": true,
"scrapeEnabled": true,
"buildVersion": "<string>"
}响应
200 - application/json
Returns the public instance settings.
Show child attributes
Show child attributes
最后修改于 2026年9月15日
此页面对您有帮助吗?

