Get pool
⚠️ This endpoint is in public preview.
Retrieve a pool by ID, resource path, or name, including its compute schedule.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Path Parameters
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.
(pool_[0-9a-zA-Z_-]{1,21}|cap_[0-9a-zA-Z_-]{1,21})|(sfc:pool:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"pool_k3R-nX9vLm7Qp2Yw5Jd8F"
Query Parameters
How many minutes of past schedule to include.
0 <= x <= 1440Response
Pool details.
A pool — a container of owned compute allocation over time.
Discriminator for /pools responses.
"pool"Accepts the canonical prefix below; additional legacy prefixes are aliased for read compatibility. Writes always emit the canonical form.
pool_[0-9a-zA-Z_-]{1,21}"pool_k3R-nX9vLm7Qp2Yw5Jd8F"
A resource path for a pool resource. Format: sfc:pool:::.
sfc:pool:([a-zA-Z0-9._-]+:){2}[a-zA-Z0-9._-]+"sfc:pool:<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"
Pool kind determines what operations are allowed on a pool.
Market: User-created pools. -Originating: Provider pools for selling compute. Cannot add compute (buy orders/procurements). -ReadOnly: System-managed pools used for legacy compute, bare metal contracts, and other. Cannot be modified through the API.
market, originating, read_only Allocation schedule of this pool. Add to the schedule by placing buy orders into this pool.
Unix timestamp.
1738972800
Active procurements targeting this pool.
Active deployments targeting this pool.
Metadata tags attached to this pool.
{ "env": "prod", "team": "infra" }