The credit spend ledger
The credit spend ledger for a since / to window (to omitted = up to now) and an optional memberIds teammate filter — the same contract as the internal spend endpoint, all echoed back (to as null and memberIds as [] when omitted): usage is the current billing period's headline (used, available, total, period bounds, and the AppSumo one-time holdback when one applies), and spendByDateByProduct is the zero-filled spend series over the window, each point carrying its deductions split by product. Points are time buckets sized by the window's length — daily while it spans at most 13 days, otherwise weekly (ISO weeks), monthly or quarterly — so a one-month window comes back by week and a one-year window by month. Each point carries isoDate (the bucket's start day, YYYY-MM-DD UTC) and date (a display label for that start: Sep 1 for daily and weekly buckets, Sep for monthly, Sep 2026 for quarterly). Sum a point's products for the bucket's total; sum a product across points for its window total. Omit memberIds (or pass []) for the whole ledger; pass teammate ids to restrict the series to those people's deductions, including the owner id for the owner's own untagged charges. Each of the two panels is null when its lookup fails. Available to any valid key (no scope needed). Rate limit: 120 requests per minute, 10000 per day.
Errors:
- 403 TEAM_MEMBER_NOT_IN_SCOPE — A memberIds entry is not an active member of the caller's team.
- 422 VALIDATION_FAILED — since is missing or not an ISO 8601 date, to is not an ISO 8601 date or precedes since, or a memberIds entry is not a 24-character hex id.
- 429 RATE_LIMITED — Per-user quota for this endpoint family exceeded (120 per minute, 10000 per day); retry after the Retry-After / RateLimit-Reset seconds.
Request
- Base URL: https://api.tryfuse.ai/api/v1
- URL: https://api.tryfuse.ai/api/v1/business/credits/usage
- Auth: HTTP basic
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.