Update procurement
⚠️ This endpoint is in public preview.
Update a procurement’s configuration.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Path Parameters
A resource path like 'sfc:procurement:acme:prod:my-procurement' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
(proc_[0-9a-zA-Z_-]{1,21})|(sfc:procurement:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"proc_k3R-nX9vLm7Qp2Yw5Jd8F"
Body
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
Replace the procurement's instance SKU. Omit to leave unchanged.
isku_[0-9a-zA-Z_-]{1,21}"isku_k3R-nX9vLm7Qp2Yw5Jd8F"
Minimum price to sell compute for ($/node-hour). Must contain decimal point. Will be rounded to nearest multiple of $0.000060.
^\d+\.\d+$"2.500000"
Maximum price to buy compute ($/node-hour). Must contain decimal point. Will be rounded to nearest multiple of $0.000060.
^\d+\.\d+$"2.500000"
How far ahead (in minutes) the procurement buys and sells compute. Higher values secure compute further in advance but commit to longer windows that may need to be sold when scaling down, potentially at a loss. Lower values reduce waste but risk compute being unavailable. The window contains this many complete minutes, beginning with the next minute. Buying power must cover each order's full duration.
1 <= x <= 129600Response
Procurement updated.
proc_[0-9a-zA-Z_-]{1,21}"proc_k3R-nX9vLm7Qp2Yw5Jd8F"
A resource path for a procurement resource. Format: sfc:procurement:::.
sfc:procurement:([a-zA-Z0-9._-]+:){2}[a-zA-Z0-9._-]+"sfc:procurement:<account_id>:<workspace>:<name>"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
wksp_[0-9a-zA-Z_-]{1,21}"wksp_k3R-nX9vLm7Qp2Yw5Jd8F"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
"procurement""node_count"Deprecated — use pool.
A pool referenced by id and name.
Instance SKU this procurement's orders are pinned to. Carries the SKU's human-readable name when one is registered.
Minimum price to sell compute for ($/node-hour). Must contain decimal point. Will be rounded to nearest multiple of $0.000060.
^\d+\.\d+$"2.500000"
Maximum price to buy compute ($/node-hour). Must contain decimal point. Will be rounded to nearest multiple of $0.000060.
^\d+\.\d+$"2.500000"
How far ahead (in minutes) the procurement buys and sells compute. Higher values secure compute further in advance but commit to longer windows that may need to be sold when scaling down, potentially at a loss. Lower values reduce waste but risk compute being unavailable. The window contains this many complete minutes, beginning with the next minute. Buying power must cover each order's full duration.
1 <= x <= 129600Enable/disable the procurement. Disabling cancels all standing orders.
Unix timestamp.
1738972800
Unix timestamp.
1738972800