v1
latestOpenAPI 3.1.02026-07-2665179189.7 KBImages
Get image
⚠️ This endpoint is in public preview.
Retrieve an image by ID. Returns both user-owned and public images.
get/preview/v2/images/{id}
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",
"workspace_id": "wksp_k3R-nX9vLm7Qp2Yw5Jd8F",
"name": "my-resource-name",
"created_at": 1738972800
}