---
title: "List images"
method: GET
path: "/preview/v2/images"
tags: ["Images"]
---

# List images

`GET /preview/v2/images`

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

List images in the specified workspace. Pass `sfc:workspace:sfcompute:public` as the workspace to list sfc-provided public images instead.

## Query parameters

- `workspace` string, required — 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.
- `id` SfcApiImageId[]
- `limit` integer
- `starting_after` string
- `ending_before` string

## Response `200`

Paginated list of images

- SfcApiListImagesResponse
  - `object` 'list', required
  - `cursor` string
  - `has_more` boolean, required
  - `data` SfcApiImageListEntry[], required
    - `id` string, required
    - `resource_path` string, required — A resource path for a image resource. Format: sfc:image:<account>:<workspace>:<name>.
    - `owner` string, required
    - `workspace` string, required
    - `name` string, required
    - `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

- `400` — Bad request.
- `401` — Unauthorized request
- `500` — Internal server error

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/versions/93dd7661e9bb/schema)
