---
title: "Download a file"
method: GET
path: "/v1/projects/{project_id}/files/{file_id}/download"
tags: ["Files"]
---

# Download a file

`GET /v1/projects/{project_id}/files/{file_id}/download`

## Request

- Base URL: `https://api.naturali.ai`
- URL: `https://api.naturali.ai/v1/projects/{project_id}/files/{file_id}/download`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.naturali.ai/authorize`, token URL `https://api.naturali.ai/token`, scopes: `mcp:access`)

Streams the file content to the client

## Path parameters

- `file_id` string, required

## Query parameters

- `token` string

## Response `200`

File content

## Other responses

- `401`: Missing or invalid credentials.
- `403`: The credential is scoped to a different project, or the caller's role in the project does not carry this action.
- `404`: File not found

---

[API](https://skmtc.dev/naturali/apis/naturali-ai-api.md) · [All operations](https://skmtc.dev/naturali/apis/naturali-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/naturali/apis/naturali-ai-api/revisions/e4905b78f422?raw)
