show earnings
Retrieves the earnings history for a specified time range and optionally per machine.
Note: per_day[] aggregates SLA earnings across your entire fleet for each UTC day, even when machid is set. For machine-scoped SLA totals, use per_machine[].sla_earn.
CLI Usage: vastai show earnings [options]
Authorizations
API key must be provided in the Authorization header
Path Parameters
The ID of the user.
Query Parameters
Start day for the earnings report as a UTC day index:
floor(unix_epoch_seconds / 86400). Prefer last_days when you do not need an absolute window.
End day for the earnings report as a UTC day index:
floor(unix_epoch_seconds / 86400) (inclusive end of the window when used with sday).
Optional machine ID to filter earnings.
Number of days to look back from today.