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-approvalAuthorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/compute-grants/request-approval" \ -H "Content-Type: application/json" \ -d '{ "budget_source": "string", "purpose": "string", "requested_sku": "string" }'null