Usage
How many credits your organization has consumed, over the last 30 days and since the start of the month.
Get usage
/api/v1.1/usageCredits consumed over the last 30 days and since the start of the month. Extraction costs 1 credit per page, classification 1 per document, segmentation 1 per operation. Counts update as work completes.
Response
last_30_daysobjecttotal,extraction,classificationandsegmentationcredits.since_month_startobjectThe same breakdown since the 1st, 00:00 UTC.
period_startstringThe 1st of the month, 00:00 UTC.
period_endstringWhen the figures were computed.
organizationstringcurrent_planobject | nulltype(SANDBOX,PAY_PER_PAGE,STARTER,PRO,ENTERPRISE),nameandincluded_credits. Null without an active plan.sandboxobjectSandbox organizations only:
credits_limit,credits_used,credits_remainingandusage_percentage(0 to 100). The limit applies at once.
For a sandbox organization the response also carries sandbox:
"sandbox": {
"credits_limit": 3500,
"credits_used": 245,
"credits_remaining": 3255,
"usage_percentage": 7.0
}curl "https://app.holofin.ai/api/v1.1/usage" \
-H "X-API-Key: $HOLOFIN_API_KEY"import os
import requests
response = requests.get(
"https://app.holofin.ai/api/v1.1/usage",
headers={"X-API-Key": os.environ["HOLOFIN_API_KEY"]},
)
response.raise_for_status()
print(response.json())const response = await fetch("https://app.holofin.ai/api/v1.1/usage", {
headers: {
"X-API-Key": process.env.HOLOFIN_API_KEY,
},
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());{
"last_30_days": {
"total": 2534,
"extraction": 2456,
"classification": 45,
"segmentation": 33
},
"since_month_start": {
"total": 948,
"extraction": 892,
"classification": 32,
"segmentation": 24
},
"period_start": "2025-10-01T00:00:00+00:00",
"period_end": "2025-10-15T14:32:45.123456+00:00",
"organization": "Acme Corp",
"current_plan": {
"type": "PRO",
"name": "Pro",
"included_credits": 100000
}
}