Quick Start
API List
- record
- space
- base
- view
- API Reference
- dashboard
- plugin
- attachments
- admin
- trash
- field
- aggregation
- table
- selection
- plan
- 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
- POSTPost billingsubscriptionlicensemanage billing
- GETGet billingadd on products
- GETGet space billingsubscription
- DELDelete space billingsubscription
- POSTPost space billingsubscriptioncheckout
- POSTPost billingsubscriptionlicensecheckout
- GETGet billingall products
- GETGet space billingcredit usage summary
- GET
- usage
- oauth
- comment
- organization
- ai
- integrity
- plugin-panel
- plugin-context-menu
- template
- automation
- authority-matrix
- enterprise
- space-manage
billing
Get space billing
billing
Get space billing
Get space billing details
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,
"fieldAIEnable": true,
"userGroupEnable": true,
"advancedExtensionsEnable": true,
"advancedPermissionsEnable": true,
"passwordRestrictedSharesEnable": true,
"authenticationEnable": true,
"domainVerificationEnable": true,
"organizationEnable": true,
"apiRateLimit": 123
},
"currentPeriodStart": "<string>",
"currentPeriodEnd": "<string>",
"status": "active"
},
"credit": {
"amount": 123,
"usedAmount": 123
},
"detail": {
"name": "<string>",
"email": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Returns space billing details.
The response is of type object
.
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,
"fieldAIEnable": true,
"userGroupEnable": true,
"advancedExtensionsEnable": true,
"advancedPermissionsEnable": true,
"passwordRestrictedSharesEnable": true,
"authenticationEnable": true,
"domainVerificationEnable": true,
"organizationEnable": true,
"apiRateLimit": 123
},
"currentPeriodStart": "<string>",
"currentPeriodEnd": "<string>",
"status": "active"
},
"credit": {
"amount": 123,
"usedAmount": 123
},
"detail": {
"name": "<string>",
"email": "<string>"
}
}