Usage and statements
What your agents spent, by day, key and model, and each month's books.
Usage
The dashboard's Usage page and GET /usage show what the RFS Router charged, one row per UTC day, account, router key and model: calls, tokens in and out, and dollars. Read up to 31 days at once, the last 7 by default, for one account or key or all of them.
curl "https://relayfor.si/api/project/v1/usage?from=2026-10-01&to=2026-10-07" \
-H "Authorization: Bearer $RELAYFOR_SECRET_KEY"A call shows up once it is charged, within a minute of its end.
Statements
A statement adds up one month of your credit accounts:
| Column | What it is |
|---|---|
| Opening | What the account held when the month began |
| Credited | Payouts, purchases and adjustments in the month |
| AI spent | What its calls were charged |
| Closing | What it held when the month ended |
Each credit is listed on its own, and each account's AI spend once a day. The current month is a statement to date (complete: false).
Open Statements on the dashboard to read a month or download it as CSV, or call GET /statements/{month} with a month like 2026-09.
The ledger
For every single change to one account, read its ledger: GET /accounts/{id}/ledger. Each entry names what made it: payout:<signature>:<event>, purchase:<signature> or call:<id>, the call id the router answered in x-relayfor-call-id.