---
title: "Get attachment (no decompression)"
method: GET
path: "/patients/{id}/attachments/{name}/compressed-data"
tags: ["Patients"]
---

# Get attachment (no decompression)

`GET /patients/{id}/attachments/{name}/compressed-data`

Get the (binary) content of one attachment associated with the given patient. The attachment will not be decompressed if `StorageCompression` is `true`.

## Path parameters

- `id` string, required
- `name` string, required

## Query parameters

- `filename` string

## Headers

- `Content-Range` string
- `If-None-Match` string

## Response `200`

---

[API](https://skmtc.net/uclouvain/apis/orthanc-api.md) · [All operations](https://skmtc.net/uclouvain/apis/orthanc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uclouvain/orthanc-api/versions/9297c4930d96/schema)
