v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-20129390589.6 KB
Procurements

Update procurement

Update an existing procurement.

patch/v0/procurements/{id}

Path parameters

idstring required

Procurement ID

Request body

status'active' | 'disabled'
instance_typestring
desired_quantityinteger nullable

Desired quantity of nodes

buy_limit_price_per_gpu_hourinteger nullable

Maximum price per GPU hour in cents

sell_limit_price_per_gpu_hourinteger nullable

Minimum price per GPU hour in cents when selling back

horizoninteger nullable

Planning horizon in minutes. The procurement will try to buy compute ahead of time as to always have at least this amount of time ahead scheduled at a minimum.

Example request

{
  "instance_type": "h100i",
  "desired_quantity": 5,
  "buy_limit_price_per_gpu_hour": 350,
  "sell_limit_price_per_gpu_hour": 50,
  "horizon": 120
}

Response

Successfully updated procurement

object'procurement' required
idstring required
instance_typestring required
status'active' | 'disabled' required
desired_quantityinteger required
buy_limit_price_per_gpu_hourinteger required
sell_limit_price_per_gpu_hourinteger required
horizoninteger required
last_message'insufficient_balance' | 'running' required

Example response

{
  "object": "procurement",
  "id": "proc_W9TRG",
  "instance_type": "h100i",
  "desired_quantity": 1,
  "buy_limit_price_per_gpu_hour": 250,
  "sell_limit_price_per_gpu_hour": 25,
  "horizon": 60,
  "colocation_strategy": {
    "cluster_name": "richmond"
  }
}