Request Compute Grant Approval
Consolidated approval request endpoint. Orchestrates approval-session heartbeat, grants listing, credits / campaign-budget preflight and optional compute-status probe so the CLI can drop its multi-endpoint wrapper.
POST
HTTPBearerheader
AuthorizationBearer <token>application/json- body
Body shape for the consolidated POST /compute-grants/request-approval.
FLY-382 P4. Mirrors the orchestration previously fanned out by the CLI: heartbeat → grants listing → credits/campaign preflight → optional status probe. The CLI now POSTs once and returns the server's payload verbatim.
acquire_node_id?string|nullapproval_session_id?string|nullbudget_source*Budget Sourcecompute_budget_id?string|nullgrant_action?Grant ActionDefault
"create"lease_control_token?string|nullprovider?string|nullpurpose*Purposeregion?string|nullrequested_sku*Requested Skusuggested_hard_cap_cents?Suggested Hard Cap CentsDefault
0target_compute_grant_id?string|nullSuccessful Response
response?unknownapplication/jsonExample Request
curl -X POST 'https://flywheel.paradigma.inc/api/v1/compute-grants/request-approval' \ -H 'Content-Type: application/json' \ -d '{ "budget_source": "string", "purpose": "string", "requested_sku": "string"}'Example Response
null