List images
Changed on⚠️ This endpoint is in public preview.
List images in the specified workspace. Pass sfc:workspace:sfcompute:public as the workspace to list sfc-provided public images instead.
Request
- Base URLhttps://api.sfcompute.com
- URLhttps://api.sfcompute.com/preview/v2/images
- AuthHTTP bearer
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. Pass sfc:workspace:sfcompute:public to list sfc-provided public images.
Filter by image ID (repeatable).
[ "image_k3R-nX9vLm7Qp2Yw5Jd8F" ]
Maximum number of results to return (1-200, default 50).
Cursor for forward pagination (from a previous response's cursor field).
Cursor for backward pagination.
Response
Paginated list of images
Example response
{
"object": "list",
"cursor": "imagec_gqXR7s0Kj5mHvE2wNpLc4Q",
"data": [
{
"id": "image_k3R-nX9vLm7Qp2Yw5Jd8F",
"resource_path": "sfc:image:<account_id>:<workspace>:<name>",
"owner": "my-resource-name",
"workspace": "my-resource-name",
"name": "my-resource-name",
"object": "image",
"created_at": 1738972800
}
]
}Changes
- warning
added the new
revokedenum value to the///response property for the response status
- warning
- info
endpoint added
- info