简体中文
curl --request GET \ --url 'https://dashlyai.cc/v1/balance' \ --header 'Authorization: Bearer <token>'
{ "success": true, "remain_balance": 10.5, "used_balance": 2.3, "unlimited_quota": false }
查询当前 API Key 的剩余额度和已使用额度
Authorization: Bearer YOUR_API_KEY
GET /v1/balance GET /balance
unlimited_quota
true
-1
false
remain_balance
Authorization: Bearer sk-xxxxx