Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns the per-metric spend against the assigned tariff for the current calendar month. Includes the tariff snapshot, the billing-period window, per-metric usage vs included limit, overage packages, CZK charge, and a 30-day daily series (oldest → newest) for sparklines.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
organisationIdnumberRequiredOrganisation the report belongs to.
tariffobject | nullRequiredAssigned tariff snapshot. NULL when the org has no cas__organisation_tariff row.
idnumberRequiredTariff ID in cas__tariff.
codestringRequiredTariff code (free, startup, business, enterprise).
monthlyPriceCzknumberRequiredCatalogue monthly price in WHOLE CZK. For Enterprise this is the lower bound.
priceFrombooleanRequiredTrue when monthlyPriceCzk is "od" and the real price is negotiated per org.
billingPeriodobjectRequiredstartstringRequiredFirst day of the current calendar month (UTC, ISO date).
endstringRequiredFirst day of the next calendar month (UTC, ISO date, exclusive).
totalChargeCzknumberRequiredSum of per-metric overage charges in whole CZK for the current billing period.
metricsobject[]RequiredcodestringRequiredStable machine code (e.g. storage_bytes, api_requests).
labelCsstringRequiredCzech display label.
labelEnstringRequiredEnglish display label.
unitCodestringRequiredRaw base unit (B, requests, tokens, emails, orders).
aggregation"sum" | "snapshot"RequiredHow usage was aggregated: sum of deltas or latest snapshot.
positionnumberRequiredDisplay order in the report.
includedUnitsnumberRequiredUnits included in the tariff at no extra cost.
packageSizenumberRequiredOverage batch size in the metric's base unit.
packagePriceCzknumberRequiredPrice per overage package in whole CZK.
isUnlimitedbooleanRequiredTrue = no cap, no charge (Enterprise).
isEnabledbooleanRequiredFalse = metric is not sold on this tariff (hidden from report).
usagenumberRequiredCurrent-period usage in the metric's base unit.
overageUnitsnumberRequiredUnits billed above the included allowance. 0 when within tariff.
chargePackagesnumberRequiredNumber of overage packages the org will be billed for.
chargeCzknumberRequiredTotal overage charge for this metric in whole CZK.
dailyPointsobject[]RequiredLast 30 days ordered oldest → newest. Missing days are filled with 0.
daystringRequiredISO date (YYYY-MM-DD, UTC).
amountnumberRequiredValue recorded for that day in the metric's base unit.
{
"organisationId": 0,
"billingPeriod": {
"start": "example_start",
"end": "example_end"
},
"totalChargeCzk": 0,
"metrics": [
{
"code": "example_code",
"labelCs": "example_labelCs",
"labelEn": "example_labelEn",
"unitCode": "example_unitCode",
"position": 0,
"includedUnits": 0,
"packageSize": 0,
"packagePriceCzk": 0,
"isUnlimited": false,
"isEnabled": false,
"usage": 0,
"overageUnits": 0,
"chargePackages": 0,
"chargeCzk": 0,
"dailyPoints": [
{
"day": "example_day",
"amount": 0
}
]
}
]
}GET /bff/billing/usage-report
curl -X GET "https://api.bizkithub.com/bff/billing/usage-report" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.