---
title: "Get image"
method: GET
path: "/preview/v2/images/{id}"
tags: ["Images"]
---

# Get image

`GET /preview/v2/images/{id}`

> ⚠️ This endpoint is in [public preview](/preview/roadmap).

Retrieve an image by ID. Returns both user-owned and public images.

## Path parameters

- `id` string, 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.

## Response `200`

Image details

- ImageListEntry
  - `id` union, required — Accepts the canonical prefix below; additional legacy prefixes are aliased for read compatibility. Writes always emit the canonical form.
    - string
    - string — Legacy alias prefix; accepted on read, never emitted on write.
  - `resource_path` string, required — A resource path for a image resource. Format: sfc:image:<account>:<workspace>:<name>.
  - `owner` string, required
  - `workspace` string, required
  - `workspace_id` string, required
  - `name` string, required
  - `is_public` boolean, required — Whether this is an sfc-provided public image.
  - `object` 'image', required
  - `upload_status` 'started' | 'uploading' | 'completed' | 'failed' | 'revoked', required
  - `created_at` integer, required — Unix timestamp.
  - `provider` string, nullable
  - `sha256` string, nullable

## Other responses

- `401` — Unauthorized request
- `403` — Forbidden
- `404` — Image not found
- `500` — Internal server error

---

[API](https://skmtc.dev/sfcompute/apis/sfc-api.md) · [All operations](https://skmtc.dev/sfcompute/apis/sfc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sfcompute/sfc-api/revisions/f3ff1539c0d9/schema)
