跳转到主要内容
GET
/
billing
/
base-products
cURL
curl --request GET \
  --url https://app.teable.ai/api/billing/base-products \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
const url = 'https://app.teable.ai/api/billing/base-products';
const options = {method: 'GET', headers: {Authorization: 'Bearer REPLACE_BEARER_TOKEN'}};

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/billing/base-products',
headers: {
Authorization: 'Bearer REPLACE_BEARER_TOKEN'
}
};

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")

headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN" }

conn.request("GET", "/api/billing/base-products", headers=headers)

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/billing/base-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$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/billing/base-products"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

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/billing/base-products")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.teable.ai/api/billing/base-products")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
[
  {
    "id": "<string>",
    "limit": {
      "maxRows": 123,
      "maxSizeAttachments": 123,
      "maxNumAutomationRuns": 123,
      "maxNumDatabaseConnections": 123,
      "maxRevisionHistoryDays": 123,
      "maxAutomationHistoryDays": 123,
      "automationEnable": true,
      "auditLogEnable": true,
      "adminPanelEnable": true,
      "rowColoringEnable": true,
      "buttonFieldEnable": true,
      "fieldAIEnable": true,
      "userGroupEnable": true,
      "advancedExtensionsEnable": true,
      "advancedPermissionsEnable": true,
      "passwordRestrictedSharesEnable": true,
      "authenticationEnable": true,
      "domainVerificationEnable": true,
      "organizationEnable": true,
      "apiRateLimit": 123,
      "chatAIEnable": true,
      "appEnable": true,
      "customDomainEnable": true,
      "maxNumAutomationSendEmail": 123
    },
    "prices": [
      {
        "id": "<string>",
        "legacyIds": [
          "<string>"
        ],
        "productId": "<string>",
        "type": "<string>",
        "intervalCount": 123,
        "unitAmount": 123,
        "currency": "<string>"
      }
    ],
    "trialPeriodInDays": 123,
    "giftCredit": 123,
    "creditSubscribeEnable": true
  }
]

授权

Authorization
string
header
必填

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

响应

200 - application/json

Returns base products list.

id
string
必填
type
enum<string>
必填
可用选项:
base,
credit,
rowCount,
attachmentSize,
automationRun
catalog
enum<string>
必填
可用选项:
cloud,
self-hosted
level
enum<string>
必填
可用选项:
free,
pro,
business,
enterprise
limit
object
必填
prices
object[]
必填
trialPeriodInDays
number
giftCredit
number
creditSubscribeEnable
boolean
最后修改于 2026年3月5日