---
title: "Get File"
method: GET
path: "/api/projects/{project_id}/files/{file_path}"
---

# Get File

`GET /api/projects/{project_id}/files/{file_path}`

## Request

- Base URL: `https://app.pharos.bio` (the document declares no server; this is the origin it was published from)
- URL: `https://app.pharos.bio/api/projects/{project_id}/files/{file_path}`
- Auth: none declared

Serve a generated file.

Small files are streamed through this endpoint so the browser never holds a
presigned S3 URL. Large ones still redirect to S3 — with a short expiry —
because pushing hundreds of megabytes through this single-threaded server
is what the redirect was introduced to avoid.

## Path parameters

- `project_id` string, required
- `file_path` string, required

## Query parameters

- `ft` string, nullable
- `token` string, nullable

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pharos/apis/agentic-data-scientist.md) - [All operations](https://skmtc.dev/pharos/apis/agentic-data-scientist/llms.txt) - [OpenAPI document](https://skmtc.dev/pharos/apis/agentic-data-scientist/revisions/7c77a7fe3870?raw)
