v1

latestOpenAPI 3.1.02026-07-2665179189.7 KB
Procurements

List procurements

⚠️ This endpoint is in public preview.

List all procurements.

get/preview/v2/procurements

Query parameters

workspacestring

A resource path like 'sfc:workspace:acme:my-workspace' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

Example:wksp_k3R-nX9vLm7Qp2Yw5Jd8F

Scope the returned list to a single workspace (ID, resource path, or name). Without it, the returned list spans every workspace where the caller has Procurement:List and Procurement:Read (granted at either the workspace or organization level).

poolstring

A resource path like 'sfc:pool:acme:prod:my-pool' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

Example:pool_k3R-nX9vLm7Qp2Yw5Jd8F

Filter by pool.

limitinteger
starting_afterstring
Example:procc_gqXR7s0Kj5mHvE2wNpLc4Q
ending_beforestring
Example:procc_gqXR7s0Kj5mHvE2wNpLc4Q

Response

Paginated list of procurements.

object'list' required
cursorstring
has_moreboolean required

Example response

{
  "cursor": "procc_gqXR7s0Kj5mHvE2wNpLc4Q",
  "data": [
    {
      "id": "proc_k3R-nX9vLm7Qp2Yw5Jd8F",
      "resource_path": "sfc:procurement:<account_id>:<workspace>:<name>",
      "owner": "my-resource-name",
      "workspace": "my-resource-name",
      "workspace_id": "wksp_k3R-nX9vLm7Qp2Yw5Jd8F",
      "name": "my-resource-name",
      "capacity": {
        "id": "cap_k3R-nX9vLm7Qp2Yw5Jd8F",
        "name": "my-resource-name"
      },
      "pool": {
        "id": "pool_k3R-nX9vLm7Qp2Yw5Jd8F",
        "name": "my-resource-name"
      },
      "instance_sku": {
        "id": "isku_k3R-nX9vLm7Qp2Yw5Jd8F",
        "alias": "my-resource-name"
      },
      "min_sell_price_dollars_per_node_hour": "1.500000",
      "max_buy_price_dollars_per_node_hour": "1.500000",
      "created_at": 1738972800,
      "updated_at": 1738972800
    }
  ]
}