---
title: "Download attachment from MinIO"
method: GET
path: "/v1/private/attachment/download"
tags: ["Attachments"]
---

# Download attachment from MinIO

`GET /v1/private/attachment/download`

Download attachment from MinIO

## Query parameters

- `workspace_name` string
- `container_id` string, uuid, required
- `entity_type` 'trace' | 'span', required
- `entity_id` string, uuid, required
- `file_name` string, required
- `mime_type` string, required

## Response `200`

Attachment Resource

## Other responses

- `401` — Bad Request
- `403` — Access forbidden

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
