---
title: "Download a conversation-scoped file by path"
method: GET
path: "/api/v1/w/{wId}/assistant/conversations/{cId}/files/{rel}"
tags: ["Conversations"]
---

# Download a conversation-scoped file by path

`GET /api/v1/w/{wId}/assistant/conversations/{cId}/files/{rel}`

## Request

- Base URL: `https://dust.tt`
- URL: `https://dust.tt/api/v1/w/{wId}/assistant/conversations/{cId}/files/{rel}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/dust-tt/apis/dust-api-documentation/docs/api/v1/w/:wId/assistant/conversations/:cId/files/:rel/get.ts> (a function with typed inputs; its response is checked against the schema)

Download a file from a conversation's file system by its scoped path. Pass the
canonical `filePath` surfaced in a message action's `generatedFiles` (the legacy
`conversation/foo.pdf` form is also accepted). The file content is streamed
directly from the conversation mount.

## Path parameters

- `wId` string, required
- `cId` string, required
- `rel` string, required

## Response `200`

File content streamed directly.

## Other responses

- `400`: Missing or invalid path parameters (e.g. missing or wrong scope prefix).
- `403`: Resolved path is outside the conversation scope.
- `404`: Conversation or file not found.

---

[API](https://skmtc.dev/dust-tt/apis/dust-api-documentation.md) - [All operations](https://skmtc.dev/dust-tt/apis/dust-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/dust-tt/apis/dust-api-documentation/revisions/abb1c0993938?raw)
