---
title: "Get download URL for a file artifact"
method: GET
path: "/runs/{runId}/files/{fileKey}/download"
tags: ["Runs"]
---

# Get download URL for a file artifact

`GET /runs/{runId}/files/{fileKey}/download`

## Request

- Base URL: `https://api.superglue.cloud/v1`
- URL: `https://api.superglue.cloud/v1/runs/{runId}/files/{fileKey}/download`
- Auth: HTTP bearer

Get a fresh presigned download URL for a specific file artifact.
Use this to refresh expired URLs.

## Path parameters

- `runId` string, required
- `fileKey` string, required

## Response `200`

Download URL

- object
  - `success` boolean
  - `fileKey` string
  - `filename` string
  - `contentType` string
  - `size` integer
  - `downloadUrl` string, uri
  - `expiresIn` integer: URL validity in seconds

## Other responses

- `403`: Not authorized to read this run
- `404`: Run or file artifact not found
- `503`: File storage not configured

---

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