Page history
Download File
api/files/download
History
api/files/download Changed · +5 / -10 lines
# Download File ## Path parameters ## Example ## Download File ### Path Parameters ### Example
from line 1
---- -title: Download File -url: https://platform.claude.com/docs/en/api/files/download ---- +# Download File -## Download File +**GET** `/v1/files/{file_id}/content` -**get** `/v1/files/{file_id}/content` - Download File -### Path Parameters +## Path parameters - `file_id: string` ID of the File. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/files/$FILE_ID/content \ -H 'anthropic-version: 2023-06-01' \ -H "X-Api-Key: $ANTHROPIC_API_KEY"
api/files/download New page · 24 lines, new page
## Download File ### Path Parameters ### Example
A whole new page. There's nothing to diff it against, so here is what it says.
---
title: Download File
url: https://platform.claude.com/docs/en/api/files/download
---
## Download File
**get** `/v1/files/{file_id}/content`
Download File
### Path Parameters
- `file_id: string`
ID of the File.
### Example
```http
curl https://api.anthropic.com/v1/files/$FILE_ID/content \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY"
```