跳转到主要内容
GET
/
space
/
{spaceId}
/
billing
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/space/{spaceId}/billing \
  --header 'Authorization: Bearer <token>'
{
  "spaceId": "<string>",
  "plan": {
    "level": "free",
    "interval": "month",
    "quantity": 123,
    "unitAmount": 123,
    "usage": {
      "numRows": 123,
      "attachmentSize": 123,
      "numDatabaseConnections": 123,
      "numCollaborators": 123,
      "numAutomationSendEmail": 123
    },
    "limit": {
      "maxRows": 123,
      "maxSizeAttachments": 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
    },
    "currentPeriodStart": "<string>",
    "currentPeriodEnd": "<string>",
    "cancelAt": "<string>",
    "status": "active"
  },
  "credit": {
    "amount": 123,
    "usedAmount": 123
  },
  "detail": {
    "name": "<string>",
    "email": "<string>"
  }
}

授权

Authorization
string
header
必填

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

响应

200 - application/json

Returns space billing details.

spaceId
string
必填
plan
object
必填
credit
object
必填
detail
object
必填
Last modified on December 10, 2025