chio spend
Watch spend as it happens: the event stream, burn-rate projections, anomaly findings, and budget-threshold webhooks.
On this page
All command families · Global flags
0 entries. Choose a section or search the full text.
chio spend
Watch spend as it happens: the event stream, burn-rate projections, anomaly findings, and threshold webhooks.
chio spend [OPTIONS] <COMMAND>- chio spend stream Tail the cursor-ordered spend event stream; a gap in the cursor is reported, never skipped.
- chio spend burn-rate Fetch the signed
chio.spend.burn-rate-projection.v1for a capability: the window’s rate and the integer time to exhaustion. - chio spend anomalies Read signed anomaly findings.
- chio spend webhook Budget-threshold webhooks, delivered at least once under operator egress policy.
Example
Project when a grant’s budget runs out at the last four hours’ rate.
chio spend burn-rate --capability cap-01a8…31f2 --window 4hcapability cap-01a8…31f2 window 4h, USD 1.84 per hour remaining USD 9.20 of 20.00 exhaustion in 5h 00m
chio spend stream
Tail the cursor-ordered spend event stream; a gap in the cursor is reported, never skipped.
chio spend stream [OPTIONS]--capability<ID>Only events for this capability.--cursor<CURSOR>Resume after this cursor.
chio spend burn-rate
Fetch the signed chio.spend.burn-rate-projection.v1 for a capability: the window’s rate and the integer time to exhaustion.
chio spend burn-rate [OPTIONS] --capability <ID> --window <DURATION>--capability<ID>Capability to project. Required.--window<DURATION>Averaging window, such as 4h. Required.--output<FILE>Write the signed projection here.
chio spend anomalies
Read signed anomaly findings.
chio spend anomalies [OPTIONS] <COMMAND>chio spend anomalies export
Export signed chio.spend.anomaly-finding.v1 records since a time.
chio spend anomalies export [OPTIONS] --since <TIME> --output <FILE>--since<TIME>Earliest finding time (RFC 3339 or Unix seconds). Required.--output<FILE>Output file. Required.
chio spend webhook
Budget-threshold webhooks, delivered at least once under operator egress policy.
chio spend webhook [OPTIONS] <COMMAND>- chio spend webhook add Register a webhook for the 50, 80, 95, and 100 percent budget crossings.
- chio spend webhook list List registered webhooks and their last delivery.
chio spend webhook add
Register a webhook for the 50, 80, 95, and 100 percent budget crossings.
chio spend webhook add [OPTIONS] --url <URL> --secret-ref <REF>--url<URL>Delivery URL. Required.--secret-ref<REF>Reference to the signing secret. Required.--capability<ID>Only crossings for this capability.
chio spend webhook list
List registered webhooks and their last delivery.
chio spend webhook list [OPTIONS]Read more in Comptroller Console.