Menu
Platform
AI
App store purchases
Credits
Database
Flags
Generated Assets
Jobs and cron
Localization
Monitoring
Notifications
Payments
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
sylphx money usage_tiers
Every sylphx money usage_tiers command: its argument, its flags and a run line.
The usage_tiers commands of Sylphx Money, as the CLI spells them: the same
calls as the usage_tiers API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#list
Lists usage tiers.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx money usage-tiers list orgs/acme/projects/shop/envs/productionGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_tiers · scope billing:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | At most this many; default 50, clamped to 1000. |
--page-token | string | next_page_token of the previous page. |
--filter | string | AIP-160 filter, for example subject = "…". |
#update
Creates or updates a usage tier.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx money usage-tiers update orgs/acme/projects/shop/envs/production/usage_tiers/usage-tier --rank 1 --threshold-minor …PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_tiers/usage-tier · scope billing:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--rank | int | Order of tiers; 0 is the base tier. Required. |
--daily-limit-minor | string | Daily exposure limit in minor units, a decimal string; empty for none. |
--monthly-limit-minor | string | Monthly exposure limit in minor units, a decimal string; empty for none. |
--threshold-minor | string | The amount an invoice would make due at which a threshold invoice is cut. Required. |
--requires-paid-invoices | int | Paid invoices needed to reach this tier. |
--requires-paid-minor | string | Paid total, minor units, needed to reach this tier. |