---
title: "Generate Download URL for Object."
method: GET
path: "/v1/objects/{id}/download"
tags: ["objects"]
---

# Generate Download URL for Object.

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

Generate a presigned download URL for an Object. The URL will be valid for the specified duration.

## Path parameters

- `id` string, required

## Query parameters

- `duration_seconds` integer

## Response `200`

Download URL generated successfully.

- ObjectDownloadUrlView — A response containing a presigned download URL for an Object.
  - `download_url` string, required — The presigned download URL for the Object.

## Other responses

- `400` — Bad request. Object is in deleted state or invalid parameters.
- `401` — Unauthorized. Invalid or missing authentication.
- `403` — Forbidden. Account does not have devbox capability.
- `404` — Object not found.
- `500` — Internal server error.

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/e9dc776053e4/schema)
