---
title: "Download a file"
method: GET
path: "/files/{file_id}/download"
---

# Download a file

`GET /files/{file_id}/download`

Download a file by providing the file owner, access expiry, and a valid signature.

Example cURL request:

```console
curl -X GET "https://api.replicate.com/v1/files/cneqzikepnug6xezperrr4z55o/download?expiry=1708515345&owner=mattt&signature=zuoghqlrcnw8YHywkpaXQlHsVhWen%2FDZ4aal76dLiOo%3D"
```

## Path parameters

- `file_id` string, required

## Query parameters

- `owner` string, required
- `expiry` integer, required
- `signature` string, required

## Response `200`

Success

## Other responses

- `404` — File not found

---

[API](https://skmtc.net/replicate/apis/replicate-http-api.md) · [All operations](https://skmtc.net/replicate/apis/replicate-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicate/replicate-http-api/versions/7a537f433b0b/schema)
