Billing & usage
Read what you have spent, what it was spent on, and what is left in the wallet. Everything on this page is a GET and needs only a read-scope key.
The routes that move money — topping up, adding a card, opening the Stripe portal — are deliberately not reachable with an API key at all. They require a signed-in dashboard session. A leaked read-only key must not be able to change the card on file or start a payment.
| Route | What it answers |
|---|---|
GET /v1/billing/balance |
How much credit is left |
GET /v1/billing/rates |
What things cost right now |
GET /v1/billing/usage |
What I consumed over a period |
GET /v1/billing/usage/by-resource |
Which machine spent it |
GET /v1/billing/usage/series |
Daily cost, for a chart |
Balance
Section titled “Balance”GET /v1/billing/balance{ "balance_micros": 4780000, "tier": "free", "transactions": [], "trial_bonus_micros": 25000000, "trial_bonus_available": true, "tax_enabled": false, "has_payment_method": false}| Field | Meaning |
|---|---|
balance_micros |
Credit remaining. May be negative — see below |
tier |
free until your first real top-up, then payg |
transactions |
Recent wallet movements, newest first: signup_credit, trial_bonus, topup, refund, chargeback, chargeback_reversed, and opening_balance (credit from before itemised history began). Credits − usage = balance. [] when there are none |
trial_bonus_micros |
The bonus adding a card would unlock |
trial_bonus_available |
true only while it is still claimable |
tax_enabled |
Whether VAT is being applied to top-ups |
has_payment_method |
Whether a card is on file |
depleted_at |
Only present at €0 — when the balance ran out |
grace_days |
Only present at €0 — 3 (free) or 30 (paid) |
deletion_at |
Only present at €0 — when idle resources get reclaimed |
The last three are omitted entirely while the wallet is healthy, so test for their presence rather than for a zero value.
GET /v1/billing/rates{ "vcpu_hour_micros": 35000, "ram_gb_hour_micros": 12000, "storage_gb_month_micros": 50000}Read this rather than hardcoding prices: it is the rate card usage is charged at, so an estimate built on it matches the bill. A price change applies from its effective date and never changes what you were already charged.
Billing is per second, quoted per hour. There is no minimum and no rounding up
to the next hour. Compute (vCPU + RAM) bills while a machine is running; storage
bills while a disk exists, running or stopped.
Usage totals
Section titled “Usage totals”GET /v1/billing/usage?from=&to=from / to are RFC 3339 or a plain date (2026-11-01; a plain to includes that whole day), and default to the current billing month. Anything else is a 400. The window is
capped at 366 days.
{ "vcpu_hours": 12.5, "ram_gb_hours": 12.5, "storage_gb_month": 0.42, "snapshot_gb_month": 0.0, "total_cost_micros": 458750, "tier": "free"}Per-resource breakdown
Section titled “Per-resource breakdown”GET /v1/billing/usage/by-resource?type=&from=&to=&page=&page_size=&format=The answer to “why was this month expensive”. Cost-sorted, paginated, with a per-type subtotal.
| Parameter | Notes |
|---|---|
type |
machine, volume or snapshot. Omit for all three |
from / to |
RFC 3339 or YYYY-MM-DD; defaults to the current billing month; anything else is 400 |
page / page_size |
Standard pagination |
format=csv |
Streams every row as CSV for an accounting export |
{ "from": "2026-09-01T00:00:00Z", "to": "2026-10-01T00:00:00Z", "total_cost_micros": 458750, "by_type": [ { "type": "machine", "count": 3, "cost_micros": 441000, "pct": 96.1 } ], "resources": [ { "type": "machine", "ref": "ee17cec6…", "name": "nightly-agent", "cost_micros": 402000, "pct": 87.6, "vcpu_hours": 11.2, "ram_gb_hours": 11.2, "storage_gb_months": 0.31, "snapshot_gb_months": 0.0 } ], "page": 1, "page_size": 50, "total": 4}Pair this with the Activity log: this endpoint says which machine spent the money, the Activity feed says what it was doing and who started it.
Daily series
Section titled “Daily series”GET /v1/billing/usage/series?from=&to=Daily cost split by resource type — what the dashboard’s chart is drawn from.
[ { "date": "2026-09-21", "compute_micros": 18400, "ram_micros": 6300, "storage_micros": 1700, "snapshot_micros": 0 }]Not available through the API
Section titled “Not available through the API”| Why | |
|---|---|
| Top up · add a card · billing portal | Session-only. An API key must not be able to spend money or change the card on file |
| Invoices | Not available yet. Every top-up gets a payment receipt; for an invoice, contact support |
| Usage reported to Stripe | Never. Stripe only processes top-ups; usage is metered by Sistemo |
Related
Section titled “Related”- Usage & billing guide — the wallet, the grace window, worked cost examples
- Quotas — the ceilings the wallet cannot express
- Activity — who did what, including the spend guard stopping a machine