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

# Download image

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

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

Get a presigned URL to download an image.

## 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`

Download URL generated

- SfcApiImageDownloadResponse
  - `url` string, required — Presigned download URL.
  - `expires_at` integer, required — Unix timestamp.
  - `sha256` string, required — For integrity verification.
  - `size` integer, required — Image size in bytes.

## Other responses

- `401` — Unauthorized request
- `404` — Image not found
- `409` — Image upload not completed
- `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/revisions/93dd7661e9bb/schema)
