Query parameters
The window is the tenant’s, not the calendar’s
period comes from the tenant’s AccountKit budget. If the cap resets weekly, this
number is a week. Reporting spend over a month while the cap resets weekly gives a
number that looks like a fraction of a cap and is not one.
With no budget declared, the window falls back to the calendar month, because that
is the conventional reporting window — and cap_cents is null, because there is
nothing to be a fraction of.
🔴 enforced on this endpoint is always false, and that is not a bug
Related
GET /v1/spend— the company-wide view, one row per tenant, with each tenant’s cap and whether it is enforcedGET /v1/limits— the ceilings that bound this surface