cURL
curl --request GET \ --url https://api.qclawrouter.com/v1/dashboard/billing/subscription \ --header 'Authorization: Bearer <token>'
{ "object": "billing_subscription", "has_payment_method": true, "soft_limit_usd": 100, "hard_limit_usd": 100, "system_hard_limit_usd": 100, "access_until": 1735689600 }
查询当前 API Key 的剩余额度和已使用额度
使用您的 API Key 作为 Bearer Token。在控制台创建令牌获取。
查询成功
"billing_subscription"
true
总额度(美元)
100
令牌过期时间(Unix 时间戳)
1735689600