---
title: "Create Download Url"
method: POST
path: "/api/workspace/files/download-url"
tags: ["runtime_mutations", "files"]
---

# Create Download Url

`POST /api/workspace/files/download-url`

## Request body

- DownloadUrlRequest
  - `path` string, required
  - `session_id` string, nullable
  - `purpose` 'download' | 'open'
  - `kind` 'file' | 'folder'
  - `expected_size` integer, nullable
  - `expected_modified` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-08-26** `76be67286158` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/workspace/files/download-url/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
