---
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

## Changes

- **2024-11-29** (v2) `7acd41fdff82` — 2 info
  - api tag `Trace` added
  - api tag `trace` removed

[Change history](https://skmtc.dev/stratumn/apis/open-api/changes/v2/traces/:traceId/file/:digest/get.md)

---

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