Parameters
2 query
Query parameters
· 2pagestringOptionalPage number (1-based).
1limitstringOptionalMax items per page (1–500, default 50).
50Paginated feed of ai__question rows scoped to the authenticated organisation. Each row carries the truncated prompt, model, tokens (total + input/output split), USD cost priced against the historical ai__model_price row effective on the prompt date, org-currency amount converted at that same date's FX rate, and the payer (this organisation vs. BizKitHub). Powers the AI usage grid in settings.
2 query
pagestringOptionalPage number (1-based).
1limitstringOptionalMax items per page (1–500, default 50).
501 status code documented
itemsobject[]RequiredidstringRequiredai__question.id serialised as a decimal string (bigint safe).
questionstringRequiredPrompt text, truncated to 500 characters for grid display.
modelstringRequiredModel name from ai__model (e.g. "gemini-2.5-flash", "gpt-4o-mini").
tokensnumberRequiredTotal tokens consumed (input + output).
inputTokensnumberRequiredProvider-reported input tokens.
outputTokensnumberRequiredProvider-reported output tokens.
costnumberRequiredTotal USD cost priced against ai__model_price effective at the prompt date.
inputCostnumberRequiredUSD cost attributable to input tokens.
outputCostnumberRequiredUSD cost attributable to output tokens.
costOrgnumberRequiredTotal cost converted to the organisation default currency at the prompt-date rate.
orgRatenumberRequiredUSD → org currency multiplier applied for this row.
orgRateDatestringRequiredYYYY-MM-DD of the fixing behind orgRate.
payer"organisation" | "bizkit"RequiredWho was billed for the underlying provider call: "organisation" via BYOK key, or "bizkit" via the shared BizKitHub key.
insertedDatestringRequiredISO 8601 timestamp of when the answer was persisted.
itemCountnumberRequiredorgCurrencyobjectRequiredcodestringRequiredISO 4217 code of the organisation default currency (e.g. "CZK").
ratenumberRequiredMultiplier: usd × rate = amount in code.
rateDatestringRequiredYYYY-MM-DD of the underlying fixing.
{
"items": [
{
"id": "example_id",
"question": "example_question",
"model": "example_model",
"tokens": 0,
"inputTokens": 0,
"outputTokens": 0,
"cost": 0,
"inputCost": 0,
"outputCost": 0,
"costOrg": 0,
"orgRate": 0,
"orgRateDate": "example_orgRateDate",
"insertedDate": "example_insertedDate"
}
],
"itemCount": 0,
"orgCurrency": {
"code": "example_code",
"rate": 0,
"rateDate": "example_rateDate"
}
}GET /bff/organisation-ai/usage/list
curl -X GET "https://api.bizkithub.com/bff/organisation-ai/usage/list?page=1&limit=50" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.