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
On this page
sylphx money usage_invoices
Every sylphx money usage_invoices command: its argument, its flags and a run line.
The usage_invoices commands of Sylphx Money, as the CLI spells them: the same
calls as the usage_invoices API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#get
Gets a usage invoice.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx money usage-invoices get orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoiceGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice · scope billing:read · effect read · Request, response and examples
#list
Lists usage invoices, newest first.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx money usage-invoices list orgs/acme/projects/shop/envs/productionGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices · 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 = "…". |
#release-collection
Releases a held invoice for collection, audited with who and why. Grant expiry or replacement never does.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx money usage-invoices release-collection orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoicePOST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice:releaseCollection · scope billing:credits.approve · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--reason | string | Who releases it, and why: both are kept. Required. |