API 列表
- record
- space
- base
- view
- trash
- field
- dashboard
- aggregation
- table
- selection
- plan
- attachments
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- GETGet space billingsubscriptionsummary
- GETGet billingsubscriptionsummary
- GETGet billingbase products
- GETGet space billing
- GETGet space billinginvoicebase list
- GETGet billingsubscriptionlicense
- GETGet billingsubscriptionlicense 1
- GETGet billingadd on products
- GETGet space billingsubscription
- DELDelete space billingsubscription
- POSTPost space billingsubscriptioncheckout
- POSTPost billingsubscriptionlicensecheckout
- GETGet billingall products
- GET
- admin
- usage
- oauth
- plugin
- comment
- organization
- ai
- integrity
- automation
- authority-matrix
- enterprise
- space-manage
- API Reference
billing
Get space billingsubscription
billing
Get space billingsubscription
Get subscription detail by spaceId
GET
/
space
/
{spaceId}
/
billing
/
subscription
curl --request GET \
--url https://app.teable.cn/api/space/%7BspaceId%7D/billing/subscription \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"base": {
"id": "<string>",
"type": "base",
"catalog": "cloud",
"level": "free",
"limit": {
"maxRows": 123,
"maxSizeAttachments": 123,
"maxNumDatabaseConnections": 123,
"maxRevisionHistoryDays": 123,
"maxAutomationHistoryDays": 123,
"automationEnable": true,
"auditLogEnable": true,
"adminPanelEnable": true,
"rowColoringEnable": true,
"buttonFieldEnable": true,
"userGroupEnable": true,
"advancedExtensionsEnable": true,
"advancedPermissionsEnable": true,
"passwordRestrictedSharesEnable": true,
"authenticationEnable": true,
"domainVerificationEnable": true,
"organizationEnable": true
},
"creditSubscribeEnable": true,
"status": "active",
"quantity": 123,
"priceId": "<string>",
"unitAmount": 123,
"interval": "month",
"currentPeriodStart": "<string>",
"currentPeriodEnd": "<string>"
},
"credit": {
"id": "<string>",
"type": "base",
"catalog": "cloud",
"unitAmount": 123,
"quantity": 123,
"interval": "month"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
Returns subscription detail.
Available options:
base
, credit
Available options:
cloud
, self-hosted
Available options:
free
, plus
, pro
, enterprise
Available options:
active
, canceled
, incomplete
, incomplete_expired
, trialing
, past_due
, unpaid
, paused
, seat_limit_exceeded
Available options:
month
, year
curl --request GET \
--url https://app.teable.cn/api/space/%7BspaceId%7D/billing/subscription \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"base": {
"id": "<string>",
"type": "base",
"catalog": "cloud",
"level": "free",
"limit": {
"maxRows": 123,
"maxSizeAttachments": 123,
"maxNumDatabaseConnections": 123,
"maxRevisionHistoryDays": 123,
"maxAutomationHistoryDays": 123,
"automationEnable": true,
"auditLogEnable": true,
"adminPanelEnable": true,
"rowColoringEnable": true,
"buttonFieldEnable": true,
"userGroupEnable": true,
"advancedExtensionsEnable": true,
"advancedPermissionsEnable": true,
"passwordRestrictedSharesEnable": true,
"authenticationEnable": true,
"domainVerificationEnable": true,
"organizationEnable": true
},
"creditSubscribeEnable": true,
"status": "active",
"quantity": 123,
"priceId": "<string>",
"unitAmount": 123,
"interval": "month",
"currentPeriodStart": "<string>",
"currentPeriodEnd": "<string>"
},
"credit": {
"id": "<string>",
"type": "base",
"catalog": "cloud",
"unitAmount": 123,
"quantity": 123,
"interval": "month"
}
}