compute:funding
Read what a compute grant allows and has used. Returns `compute` with `compute_grant_id`, `budget_source`, `root_compute_budget_id`, `grant_cents` (what the grant allows), `spent_cents` and `remaining_cents`. `hard_cap_cents`, `cumulative_spend_cents` and `budget_remaining_cents` repeat `grant_cents`, `spent_cents` and `remaining_cents` under older names: they are the grant's values, not the backing campaign budget's (for those use campaign-budgets:list). Read it before compute:acquire.
Reference for flywheel compute:funding.
Command Group
Compute & Executions Commands
Summary
Read what a compute grant allows and has used. Returns compute with compute_grant_id, budget_source, root_compute_budget_id, grant_cents (what the grant allows), spent_cents and remaining_cents. hard_cap_cents, cumulative_spend_cents and budget_remaining_cents repeat grant_cents, spent_cents and remaining_cents under older names: they are the grant's values, not the backing campaign budget's (for those use campaign-budgets:list). Read it before compute:acquire.
Effect
read-only
Usage
flywheel compute:funding <FLAGS>Required flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--compute_grant_id | string | Grant ID from compute-grants:list or an already_approved compute-grants:request-approval. Acquire requires it; status filters by it. Unknown, inactive, exhausted or bound elsewhere: 403 or 422 approval_required; request approval again. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--approval_session_id | string | session_id from compute-grants:request-approval or approval-sessions:list. A grant bound to another session: 403. | ||
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Select a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Confirm forced compute:release-all --force. Other runtime commands do not read --yes. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Read funding.
flywheel compute:funding --compute_grant_id g_abcOutput
Default format: json.
| Field | Type |
|---|---|
compute | object |
compute:connection
Read SSH connection material for an active managed compute lease once compute:status indicates the lease is usable. Returns `compute` with `lease_id`, `lease_status`, `provider`, `offer_id`, `region`, `host`, `port`, `user`, `private_key` (the SSH private key: keep it secret), `known_hosts` and `next_retry_after_seconds`; host, port and key are empty until the lease is ready. Scoped to --lease_control_token, and only leases you own are connectable. Pass --lease_id or --node_id to pick one when several match.
compute:options
List the compute machines (offers) you could rent for a node, from the providers this server has enabled. Returns `compute` with `detail`, `returned_options` and `options`; each compact row has `provider`, `offer_id`, `display_name`, `gpu_model`, `gpu_count`, `price_cents_per_hour`, `regions`, `allowed` and `preferred`. Pick a row with `allowed` true and pass its `offer_id` as `requested_sku` to compute-grants:request-approval and compute:acquire. Listing is free: it takes no grant and returns no budget or funding (see compute:funding).