---
title: "Download raw task file bytes"
method: GET
path: "/api/fs/tasks/{taskId}/files/{attachmentId}/raw"
tags: ["FS"]
---

# Download raw task file bytes

`GET /api/fs/tasks/{taskId}/files/{attachmentId}/raw`

Streams raw bytes. File content is not secret-scrubbed.

## Path parameters

- `taskId` string, uuid, required
- `attachmentId` string, uuid, required

## Response `200`

Raw file bytes

## Other responses

- `404` — Task, attachment, or provider object not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/ef761849166b/schema)
