Credits API
Check your team's credit balance, auto top-up settings, and usage from the last 30 days.
You can use this endpoint to display your current balance on an internal dashboard or trigger an alert before your credits run low. Your API token needs the Read credits permission to call it. For more on how credits work, see Pricing and credits.
GET /api/v1/credits
This endpoint takes no query parameters.
curl https://app.vroni.com/api/v1/credits \
-H "Authorization: Bearer $VRONI_API_TOKEN" \
-H "Accept: application/json"
{
"data": {
"balance": 412,
"debt_amount": 0,
"dunning_status": null,
"subscription": { "plan": "...", "status": "active", "renews_at": null },
"auto_topup": {
"enabled": true,
"threshold": 120,
"daily_limit": 1,
"last_triggered_at": null,
"failed_at": null
},
"current_period_usage": {
"period": "last_30_days",
"period_start": "2026-10-27T00:00:00+00:00",
"period_end": "2026-11-25T23:59:59+00:00",
"credits_used": 318,
"run_count": 4
},
"links": {
"credits": "https://app.vroni.com/credits",
"analytics": "https://app.vroni.com/analytics"
}
}
}
| Field | Meaning |
|---|---|
balance |
Your team’s combined plan and pack credit balance. It can drop below zero if a run costs more than your remaining credits. A positive balance doesn’t guarantee a task can start, such as when there’s a payment issue. |
debt_amount, dunning_status |
Relevant when your balance drops below zero and a payment is required. Normally 0 and null. |
subscription |
null when the team has no subscription. Check subscription.status to see whether it’s active. The other subscription fields aren’t meant for display; check the Billing page in the app for your plan and renewal date. |
auto_topup |
Whether auto top-up is enabled, its credit threshold, the 24-hour limit, and when it last triggered or failed. |
current_period_usage |
Total credits used by finished runs and the number of runs over the last 30 days, including today. |
To see how many credits a single run used, check the credits_used field in the runs endpoints.
Last updated November 25, 2026. Something missing or unclear? Write to [email protected].