compute-grants:request-approval

Request compute-grant approval. POSTs to the consolidated server endpoint which owns the heartbeat/grants/credits/campaign-budgets/status fan-out.

Reference for flywheel compute-grants:request-approval.

Command Group

Other Commands

Summary

Request compute-grant approval. POSTs to the consolidated server endpoint which owns the heartbeat/grants/credits/campaign-budgets/status fan-out.

Usage

flywheel compute-grants:request-approval <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--purposestringHuman-readable purpose.
--requested_skustringSKU.
--budget_sourcestringuser | root.

Optional flags

FlagValueDefaultChoicesDescription
--regionstringRegion. Optional for provider-validated offers; required otherwise (server decides per-offer).
--acquire_node_idstringTarget node for acquire.
--approval_session_idstringExisting approval session to reuse.
--lease_control_tokenstringTriggers optional status preflight when set.
--grant_actionstringcreate | top_up.
--compute_budget_idstringBudget identifier for grant allocation.
--target_compute_grant_idstringExisting grant to top up.
--providerstringCompute provider hint.
--suggested_hard_cap_centsintegerSuggested grant hard cap in cents.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--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.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Request approval.

flywheel compute-grants:request-approval --purpose "train" --requested_sku sku --region us-east --budget_source user