---
title: "Download artifact file"
method: GET
path: "/v1/artifacts/{id}/download"
tags: ["Artifacts"]
---

# Download artifact file

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

## Request

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

Stream the artifact file as an attachment (`Content-Disposition: attachment`, with the original file name). Requires `artifacts:read`.

## Path parameters

- `id` string, required: Artifact ID

## Response `200`

The artifact file, served as an attachment.

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