---
title: "Get artifact preview image"
method: GET
path: "/v1/artifacts/{id}/image"
tags: ["Artifacts"]
---

# Get artifact preview image

`GET /v1/artifacts/{id}/image`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/artifacts/{id}/image`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/artifacts/:id/image/get.ts> (a function with typed inputs; its response is checked against the schema)

Stream the artifact preview image as PNG. Returns 404 when the artifact has no preview image. Requires `artifacts:read`.

## Path parameters

- `id` string, required: Artifact ID

## Response `200`

The preview image (PNG).

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

[API](https://skmtc.dev/nops/apis/nops-public-api.md) - [All operations](https://skmtc.dev/nops/apis/nops-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nops/apis/nops-public-api/revisions/ac549fa495dd?raw)
