---
title: "Download a file"
method: GET
path: "/v2/traces/{traceId}/file/{digest}"
tags: ["Trace"]
---

# Download a file

`GET /v2/traces/{traceId}/file/{digest}`

Downloads a file from a given trace by id and digest

## Path parameters

- `traceId` string, required
- `digest` string, required

## Response `200`

The file downloaded from the given trace

---

[API](https://skmtc.net/stratumn/apis/stratumn-api-2.md) · [All operations](https://skmtc.net/stratumn/apis/stratumn-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stratumn/stratumn-api-2/versions/7acd41fdff82/schema)
