GET
/
space
/
{spaceId}
/
billing
curl --request GET \
  --url https://app.teable.cn/api/space/%7BspaceId%7D/billing \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "spaceId": "<string>",
  "plan": {
    "level": "free",
    "interval": "month",
    "quantity": 123,
    "unitAmount": 123,
    "usage": {
      "numRows": 123,
      "attachmentSize": 123,
      "numDatabaseConnections": 123,
      "numCollaborators": 123
    },
    "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
    },
    "currentPeriodStart": "<string>",
    "currentPeriodEnd": "<string>",
    "status": "active"
  },
  "credit": {
    "amount": 123,
    "usedAmount": 123
  },
  "detail": {
    "name": "<string>",
    "email": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
Returns space billing details.
spaceId
string
required
plan
object
required
credit
object
required
detail
object
required