---
title: "Download task file"
method: GET
path: "/samples/{sampleID}/{taskID}/files/{fileName}"
---

# Download task file

`GET /samples/{sampleID}/{taskID}/files/{fileName}`

## Request

- Base URL: `https://sandbox.recordedfuture.com/api/v0`
- URL: `https://sandbox.recordedfuture.com/api/v0/samples/{sampleID}/{taskID}/files/{fileName}`
- Auth: API key in header `Authorization`

Download a specific file artifact dropped or extracted during behavioral execution.

## Path parameters

- `sampleID` string, required
- `taskID` string, required
- `fileName` string, required

## Response `200`

Binary file content.

## Other responses

- `404`: Sample/task/file not found.

---

[API](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti.md) - [All operations](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/llms.txt) - [OpenAPI document](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/revisions/39ea918b1dca?raw)
