---
title: "Get Run Attachment Download Url"
method: GET
path: "/v1/run-attachments/{attachment_id}/download-url"
tags: ["run-attachments"]
---

# Get Run Attachment Download Url

`GET /v1/run-attachments/{attachment_id}/download-url`

## Request

- Base URL: `https://api.cyberdesk.io`
- URL: `https://api.cyberdesk.io/v1/run-attachments/{attachment_id}/download-url`
- Auth: HTTP bearer

Get a signed download URL for a run attachment file.

Returns a signed URL that triggers automatic download when accessed.

Args:
    attachment_id: The ID of the attachment to download
    expires_in: URL expiration time in seconds (10-3600). Default: 300 (5 minutes)

## Path parameters

- `attachment_id` string, uuid, required

## Query parameters

- `expires_in` integer: URL expiration time in seconds (10-3600)

## Response `200`

Successful Response

- RunAttachmentDownloadUrlResponse: Response schema for run attachment download URL
  - `url` string, required: Signed URL for downloading the attachment
  - `expires_in` integer, required: Seconds until the URL expires

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud.md) - [All operations](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/revisions/5579352ae05e?raw)
