# One file's download URL

> A presigned URL for a single file in the live bundle. Binary-safe.

Source: https://docs.generalinput.com/api/workflows/file-url



<Endpoint method="GET" path="/v1/workflows/:id/file-url?path=" />

<Access scope="workflows:manage" />

A short-lived presigned `GET` for one file of the live bundle, named by `path`. Use it when you want a single asset without pulling the whole [bundle](/api/workflows/bundle-url); the bytes come straight from storage, so binary files (images, fonts, `xlsx`) survive intact.

## Query [#query]

| Param  | Required | Notes                                              |
| ------ | -------- | -------------------------------------------------- |
| `path` | yes      | The file's path within the bundle, e.g. `main.ts`. |

## Response [#response]

```json
{
  "url": "https://storage.example/…?X-Amz-Signature=…",
  "fileName": "main.ts",
  "contentType": "text/plain"
}
```

A path with no matching file answers `404`.
