---
title: "Downloads all hit pathways for a given analysis"
method: GET
path: "/download/{token}/pathways/{resource}/{filename}.csv"
tags: ["download"]
---

# Downloads all hit pathways for a given analysis

`GET /download/{token}/pathways/{resource}/{filename}.csv`

## Request

- Base URL: `https://release.reactome.org/AnalysisService`
- URL: `https://release.reactome.org/AnalysisService/download/{token}/pathways/{resource}/{filename}.csv`
- Auth: none declared
- TypeScript: <https://skmtc.dev/reactome/apis/pathway-analysis-service/docs/download/:token/pathways/:resource/:filename.csv/get.ts> (a function with typed inputs; its response is checked against the schema)

The results are filtered by the selected resource. The filename is the one to be suggested in the download window.

## Path parameters

- `token` string, required
- `resource` 'TOTAL' | 'UNIPROT' | 'ENSEMBL' | 'CHEBI' | 'IUPHAR' | 'MIRBASE' | 'NCBI' | 'PROTEIN' | 'EMBL' | 'COMPOUND' | 'PUBCHEM_COMPOUND', required: the preferred resource
- `filename` string, required

## Other responses

- `404`: No result corresponding to the token was found
- `410`: Result deleted due to a new data release

---

[API](https://skmtc.dev/reactome/apis/pathway-analysis-service.md) - [All operations](https://skmtc.dev/reactome/apis/pathway-analysis-service/llms.txt) - [OpenAPI document](https://skmtc.dev/reactome/apis/pathway-analysis-service/revisions/935cc02cac0f?raw)
