---
title: "Get Paper Version"
method: GET
path: "/api/projects/{project_id}/papers/{paper_id}/{generation_index}"
---

# Get Paper Version

`GET /api/projects/{project_id}/papers/{paper_id}/{generation_index}`

## 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}/papers/{paper_id}/{generation_index}`
- Auth: none declared

Download one paper version (302 → presigned S3 URL, attachment).

``fmt`` is the preferred format ('pdf' default, or 'md'). When the
preferred format isn't in S3 (e.g. PDF generation failed) we transparently
fall back to the other so the user still gets a file — from their
perspective the download behaves the same, a .md just pops out instead.

## Path parameters

- `project_id` string, required
- `paper_id` string, required
- `generation_index` integer, required

## Query parameters

- `fmt` string
- `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)
