List instances
⚠️ This endpoint is in public preview.
List all instances.
Query parameters
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.
Filter by workspace.
Filter by instance ID (repeatable).
[ "inst_k3R-nX9vLm7Qp2Yw5Jd8F" ]
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.
Filter by capacity.
Filter by instance status (repeatable).
Cursor for forward pagination (from a previous response's cursor field).
Cursor for backward pagination.
Additional fields to include in the response.
Filter by tag key-value pair (repeatable). Format: key=value (the = between key and value must be percent-encoded in the URL).
Filter by tag key existence (repeatable). Returns resources that have a tag with this key, regardless of the value.
Response
Paginated list of instances.
Example response
{
"object": "list",
"cursor": "nodec_gqXR7s0Kj5mHvE2wNpLc4Q",
"data": [
{
"id": "inst_k3R-nX9vLm7Qp2Yw5Jd8F",
"resource_path": "sfc:instance:<account_id>:<workspace>:<name>",
"owner": "my-resource-name",
"workspace": "my-resource-name",
"name": "my-resource-name",
"object": "instance",
"instance_sku": {
"id": "isku_k3R-nX9vLm7Qp2Yw5Jd8F",
"name": "my-resource-name"
},
"capacity": {
"id": "cap_k3R-nX9vLm7Qp2Yw5Jd8F",
"name": "my-resource-name"
},
"created_at": 1738972800,
"image": {
"id": "image_k3R-nX9vLm7Qp2Yw5Jd8F",
"name": "my-resource-name"
},
"deployment": {
"id": "depl_k3R-nX9vLm7Qp2Yw5Jd8F",
"name": "my-resource-name"
},
"cloud_init_user_data": "IyEvYmluL2Jhc2gKZWNobyBoZWxsbyB3b3JsZAo=",
"tags": {
"env": "prod",
"team": "infra"
},
"expected_shutdown_at": 1738972800
}
]
}