Images
Get image
Changed on⚠️ This endpoint is in public preview.
Retrieve an image by ID. Returns both user-owned and public images.
get/preview/v2/images/{id}
Request
- Base URLhttps://api.sfcompute.com
- URLhttps://api.sfcompute.com/preview/v2/images/{id}
- AuthHTTP bearer
Path parameters
idstring required
A resource path like 'sfc:image:acme:prod:my-image' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
Example:image_k3R-nX9vLm7Qp2Yw5Jd8F
Image ID or resource path
Response
Image details
Example response
{
"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