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

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 subscription detail.
base
object
required
credit
object