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

# Download image

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

## Request

- Base URL: `https://api.sfcompute.com`
- URL: `https://api.sfcompute.com/preview/v2/images/{id}/download`
- Auth: HTTP bearer

> ⚠️ 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

## Changes

- **2026-05-18** `b819ba3108b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/changes/preview/v2/images/:id/download/get.md)

---

[API](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation.md) - [All operations](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/revisions/93dd7661e9bb?raw)
