跳转到主要内容
GET
/
billing
/
subscription
/
license
/
{licenseId}
cURL
curl --request GET \
  --url https://app.teable.ai/api/billing/subscription/license/%7BlicenseId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "id": "<string>",
  "instanceId": "<string>",
  "currentPeriodStart": "<string>",
  "currentPeriodEnd": "<string>",
  "quantity": 123,
  "unitAmount": 123,
  "licenseKey": "<string>",
  "interval": "month",
  "level": "free"
}

授权

Authorization
string
header
必填

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

路径参数

licenseId
string
必填

响应

200 - application/json

Returns license details for the self-hosted related subscription

id
string
必填
instanceId
string
必填
currentPeriodStart
string
必填
currentPeriodEnd
string
必填
quantity
number
必填
unitAmount
number
必填
licenseKey
string
必填
interval
enum<string>
必填
可用选项:
month,
year
level
enum<string>
必填
可用选项:
free,
pro,
business,
enterprise
Last modified on March 5, 2026