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
/v1/compute-grants/request-approval

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. 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|null
approval_session_id?string|null
budget_source*Budget Source
compute_budget_id?string|null
grant_action?Grant Action
Default"create"
lease_control_token?string|null
provider?string|null
purpose*Purpose
region?string|null
requested_sku*Requested Sku
suggested_hard_cap_cents?Suggested Hard Cap Cents
Default0
target_compute_grant_id?string|null

Response Body

Successful Response

response?unknownapplication/json
Example 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