billing
Get Recent Usage
What did the caller spend in the last N minutes? No play_id needed.
Aggregates the same four ledgers as /api/billing/cost-by-play but filters by created_at >= now() - interval instead of by play. Use when an SDK session ran without a registered play and you still want "what did I just spend".
- minutes (default 60, max 1440 = 24h): lookback window.
- actor_only (default true): include canonical Growth and enrichment capability movements carrying the caller's exact actor identity. Source and legacy enrichment ledgers lack that attribution and are excluded. Pass false for the complete workspace-wide net total across every ledger.
get/api/billing/recent-usage
Request
- Base URLhttps://platform.verbiflow.com/api/bridge
- URLhttps://platform.verbiflow.com/api/bridge/api/billing/recent-usage
- Auth
- HTTP bearer and API key in header x-flage-org-id
- or HTTP bearer and API key in header x-flage-org-slug
Query parameters
minutesinteger
actor_onlyboolean
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.