Skip to main content

Get usage

Success: 200.

Query

string
default:"start of the current UTC month"
Any string Date can parse — 2026-07-01 or a full ISO timestamp. Inclusive.
string
default:"now"
Same format. Exclusive, so to=2026-08-01 covers July completely without bleeding into August.
The default window is the current calendar month, which is the unit tenants are billed in.

Response

string
The resolved window start, echoed as ISO 8601.
string
The resolved window end, exclusive.
integer
This is the billable number. One per checkout that reached succeeded.
array
{ day, count } with day as YYYY-MM-DD. Days with no completions are omitted, not zero-filled — fill gaps yourself if you are drawing a chart.The buckets are UTC days, cut at UTC midnight, matching from, to and every other timestamp the API returns. They do not follow your timezone or ours: a checkout that completed at 02:00 UTC belongs to that UTC day everywhere, so the same window always returns the same buckets.
array
{ currency, amount } — the sum of receipt totals, grouped by currency. Reporting only; we bill per completed checkout, not a percentage. Currencies are never converted or combined.Checkouts whose receipt carried no total are excluded from this sum but still counted in completedCheckouts, so the two will not always reconcile.

Errors

What is metered, and why

We meter completed checkouts. Never attempts. Metering attempts would mean earning more when the agent fails, which is exactly backwards for a product whose entire problem is reliability. Billing on completion puts our revenue and your success on the same side. Practically: a checkout that ends failed or cancelled costs you nothing, however far it got and however many browser-minutes it burned. A run that reached the payment step and had its card action declined is free. Only an order that confirmed is billable.
The usage record is written at the single point a checkout becomes successful, and is unique per checkout, so an orchestrator replay can never double-bill. Numbers here should reconcile exactly against your own count of succeeded checkouts.