Parameters
1 query
Query parameters
· 1idstringRequiredIdentifier of the member. For active members it is shop__contact.external_id; for pending invitations it is pending-<token>.
example_idReturns the daily count of authenticated /bff/* requests this member has made over the last 90 days, sourced from cas__member_usage_daily (buffered in Redis, drained by flushMemberBffUsageToDb). Pending invitations always return an empty response. Powers the chart on the member Activity tab.
1 query
idstringRequiredIdentifier of the member. For active members it is shop__contact.external_id; for pending invitations it is pending-<token>.
example_id1 status code documented
isPendingbooleanRequiredTrue when the id refers to a pending invitation (no usage history exists).
usageListobject[]RequiredDaily usage rows for the last 90 days, ordered by date ascending.
dateDate | string | string | numberRequiredCalendar day (organisation-local date).
Calendar day (organisation-local date).
countnumberRequiredBFF requests attributed to the member on that day.
totalRequestsnumberRequiredSum of count over the 90-day window.
todayCountnumberRequiredBFF requests attributed to the member today (up to the last flush).
avgDailynumberRequiredAverage requests per observed day in the window.
peakCountnumberRequiredHighest single-day count in the window.
peakDateDate | string | string | number | nullRequiredDate of the peak day, or null when there is no usage.
last7DaysTotalnumberRequiredSum for the newest 7 days in the window.
previous7DaysTotalnumberRequiredSum for the 7 days preceding the newest 7.
{
"isPending": false,
"usageList": [
{
"count": 0
}
],
"totalRequests": 0,
"todayCount": 0,
"avgDaily": 0,
"peakCount": 0,
"last7DaysTotal": 0,
"previous7DaysTotal": 0
}GET /bff/member/bff-usage
curl -X GET "https://api.bizkithub.com/bff/member/bff-usage?id=example_id" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.