Get the wallet balance
GET/v1/balance
Prepaid AI Credits, pay-as-you-go use against this month's cap, and what you can spend right now.
Needs the read scope.
Example
curl https://www.luce.space/api/v1/balance \
-H "Authorization: Bearer $LUCE_API_KEY"Response
HTTP 200.
{
"object": "balance",
"prepaid": {
"credits": 420,
"expires_at": "2027-11-02T09:00:00.000Z"
},
"pay_as_you_go": {
"enabled": true,
"status": "active",
"monthly_cap_usd": 200,
"price_per_credit_usd": 0.5,
"used_credits": 64,
"used_usd": 32,
"remaining_credits": 336,
"cap_credits": 400
},
"month": "2026-11",
"spent_credits_this_month": 310,
"available_credits": 756
}