---
title: "Get a short-lived download URL for a file artifact"
method: GET
path: "/artifacts/{artifactId}/download"
tags: ["Artifacts"]
---

# Get a short-lived download URL for a file artifact

`GET /artifacts/{artifactId}/download`

## Request

- Base URL: `https://api.ziggsai.com`
- URL: `https://api.ziggsai.com/artifacts/{artifactId}/download`
- Auth: HTTP bearer

After canReadArtifact, returns JSON { downloadUrl, expiresAt, filename } with a 60s S3 GET (attachment disposition). Unreadable → 404.

## Path parameters

- `artifactId` string, required

## Headers

- `X-Ziggs-Lane` string

## Response `200`

OK

- ArtifactDownloadResponseSchema
  - `downloadUrl` string, required
  - `expiresAt` string, required
  - `filename` string, required

---

[API](https://skmtc.dev/ziggsai/apis/ziggs-developer-api.md) · [All operations](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/revisions/eda79030e072?raw)
