List orders
⚠️ This endpoint is in public preview.
List all orders.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Query Parameters
Filter by order ID (repeatable).
ordr_[0-9a-zA-Z_-]{1,21}Filter by capacity. A resource path like 'sfc:capacity:acme:prod:my-capacity' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
(cap_[0-9a-zA-Z_-]{1,21})|(sfc:capacity:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"cap_k3R-nX9vLm7Qp2Yw5Jd8F"
sell, buy Filter by status (repeatable).
The status of an order in the system.
pending = not resolved/processed yet.
filled = order executed.
partially_filled = the order matched part of its requested capacity and remains active for the remainder.
standing = the order is waiting for a match.
cancelled = the order was cancelled either automatically (not a standing order and didn't immediately fill, or current time past end_at) or by explicit cancellation.
rejected = validation/system error occurred.
pending, filled, partially_filled, rejected, cancelled, standing Unix timestamp.
1738972800
Unix timestamp.
1738972800
Filter to one procurement's orders (ID or resource path). Without it, the list omits procurement orders. 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"
Prefix with - for descending.
created_at, -created_at, start_at, -start_at 1 <= x <= 200Set to the response's cursor to fetch the next page.
^ordrc_[A-Za-z0-9_-]+$"ordrc_gqXR7s0Kj5mHvE2wNpLc4Q"
Set to the response's cursor to fetch the previous page.
^ordrc_[A-Za-z0-9_-]+$"ordrc_gqXR7s0Kj5mHvE2wNpLc4Q"