veryfront__get_usage_series

Chart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. Requires account.billing.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
presetstringWhole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults.
fromstringInclusive start. Supply both from and to; these bounds take precedence over preset.
toExclusive end, no later than the end of today in timezone.
timezonestringProvide the timezone.
granularitystringUTC hours, or local calendar days, Monday-based weeks and months.
group_byarrayGrouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list.
comparestringCompare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise.
metricstringYesUsage metric to chart.
project_referencestringProject ID or slug that narrows the read to one project of the account. A project of another account is not found.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_usage_series",    "arguments": {      "metric": "<metric>"    }  }}