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

FlagValueDefaultChoicesDescription
--compute_grant_idstringGrant 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

FlagValueDefaultChoicesDescription
--approval_session_idstringsession_id from compute-grants:request-approval or approval-sessions:list. A grant bound to another session: 403.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Read funding.

flywheel compute:funding --compute_grant_id g_abc

Output

Default format: json.

FieldType
computeobject