WorkflowSub2ApiCatalogResponse
0data objectrequired
The account-level shared balance of the current Sub2API user, which does not belong to any individual group.
Possible values: >= 0
groups object[]required
The configuration opened by the administrator is sorted by the current user provider preference; if the preference is not configured, the order is ascending by group ID.
Possible values: [standard, subscription]
Indicates whether the group key is still retained in the background; the deactivation key is still true, and the key content or ID is not returned.
Indicates whether the grouping key is currently active; false if not configured or deactivated.
balanceUsage object
Today's actual deduction by Asia/Shanghai time zone.
Possible values: >= 0
Actual deductions for the past 30 natural days, including today.
Possible values: >= 0
The cumulative actual deduction amount of the current user in the balance charging group.
Possible values: >= 0
subscription object
Sub2API the current total daily quota; null means unlimited.
Possible values: >= 0
Sub2API Total current weekly quota; null indicates unlimited.
Possible values: >= 0
Sub2API Total current monthly quota; null indicates unlimited.
Possible values: >= 0
The time of this response to the combined balance, balance group usage, subscription and quota; Sub2API details may come from the short-term in-process cache.
{
"errCode": 0,
"errMessage": "string",
"data": {
"balance": 0,
"groups": [
{
"groupId": 0,
"name": "string",
"description": "string",
"platform": "string",
"subscriptionType": "standard",
"status": "string",
"priceCents": 0,
"hasApiKey": true,
"apiKeyEnabled": true,
"paidAt": "2024-07-29T15:51:28.071Z",
"balanceUsage": {
"todayUsd": 0,
"last30DaysUsd": 0,
"totalUsd": 0
},
"subscription": {
"status": "string",
"startsAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z",
"dailyLimitUsd": 0,
"dailyUsageUsd": 0,
"dailyRemainingUsd": 0,
"weeklyLimitUsd": 0,
"weeklyUsageUsd": 0,
"weeklyRemainingUsd": 0,
"monthlyLimitUsd": 0,
"monthlyUsageUsd": 0,
"monthlyRemainingUsd": 0
}
}
],
"fetchedAt": "2024-07-29T15:51:28.071Z"
}
}