接口
GET/v1/billing/summary
认证:Authorization: Bearer $ARIA_PIN_KEY
响应
string
用户 ID;管理员聚合视图时为空。
number
当前钱包余额,以所配置币种计。
string
计费币种(例如
USD)。number
跨所有计费记录的累计已结算支出。
object
最近 30 天的 GPU 与令牌用量。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回钱包余额、累计总支出,以及最近 30 天的 GPU 与令牌用量。
/v1/billing/summary
认证:Authorization: Bearer $ARIA_PIN_KEY
USD)。curl http://<pin-host>:8001/v1/billing/summary \
-H "Authorization: Bearer $ARIA_PIN_KEY"
{
"user_id": "usr_abc",
"balance": 124.5,
"currency": "USD",
"total_spent": 75.5,
"usage_30d": {
"gpu_seconds": 3600.0,
"tokens": 5000000
}
}
Was this page helpful?