curl --request GET \
--url https://api.sfcompute.com/v2/capacity_transfers \
--header 'Authorization: Bearer <token>'{
"object": "list",
"has_more": true,
"data": [
{
"object": "capacity_transfer",
"id": "<string>",
"status": "pending",
"created_at": 1738972800,
"from_capacity": "<string>",
"to_capacity": "<string>",
"zone": "richmond",
"allocation_schedule_delta": [
{
"node_count": 123,
"start_at": 1738972800,
"end_at": 1738972800
}
],
"rejected_reason": "<string>"
}
],
"cursor": "ctfrc_gqXR7s0Kj5mHvE2wNpLc4Q"
}List capacity transfers for the caller’s organization.
curl --request GET \
--url https://api.sfcompute.com/v2/capacity_transfers \
--header 'Authorization: Bearer <token>'{
"object": "list",
"has_more": true,
"data": [
{
"object": "capacity_transfer",
"id": "<string>",
"status": "pending",
"created_at": 1738972800,
"from_capacity": "<string>",
"to_capacity": "<string>",
"zone": "richmond",
"allocation_schedule_delta": [
{
"node_count": 123,
"start_at": 1738972800,
"end_at": 1738972800
}
],
"rejected_reason": "<string>"
}
],
"cursor": "ctfrc_gqXR7s0Kj5mHvE2wNpLc4Q"
}Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Filter by source or destination capacity. Returns transfers where from_capacity_id = $1 OR to_capacity_id = $1.
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._-]+){1,3})"cap_k3R-nX9vLm7Qp2Yw5Jd8F"
Filter by transfer status.
pending, executed, rejected 1 <= x <= 200Set to the response's cursor to fetch the next page.
^ctfrc_[A-Za-z0-9_-]+$"ctfrc_gqXR7s0Kj5mHvE2wNpLc4Q"
Set to the response's cursor to fetch the previous page.
^ctfrc_[A-Za-z0-9_-]+$"ctfrc_gqXR7s0Kj5mHvE2wNpLc4Q"
Paginated list of capacity transfers.