---
title: "POST assets download_uri"
method: POST
path: "/api/v1/assets/{id}/download_uri"
---

# POST assets download_uri

`POST /api/v1/assets/{id}/download_uri`

## Request

- Base URL: `https://app.onecodex.com`
- URL: `https://app.onecodex.com/api/v1/assets/{id}/download_uri`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `download_uri` string, required: A pre-signed download link for the asset file.
  - `expires_at` string, date-time, required: The timestamp when the presigned download URL expires, encoded as a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp.
  - `expires_in_hours` integer, required: The number of hours for which `download_uri` is valid.

## Changes

- **2026-11-03** `3be5a5f9bf7d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onecodex/apis/one-codex-api-v1/changes/api/v1/assets/:id/download_uri/post.md)

---

[API](https://skmtc.dev/onecodex/apis/one-codex-api-v1.md) - [All operations](https://skmtc.dev/onecodex/apis/one-codex-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/onecodex/apis/one-codex-api-v1/revisions/3be5a5f9bf7d?raw)
