---
title: "Download an attachment"
method: GET
path: "/projects/{project_id}/error-attachments/{attachment_id}/content"
tags: ["error-tracking"]
---

# Download an attachment

`GET /projects/{project_id}/error-attachments/{attachment_id}/content`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-attachments/{attachment_id}/content`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `attachment_id` integer, required

## Response `200`

The file. PNG, JPEG, GIF and WebP are served inline; everything else as application/octet-stream to save

## Other responses

- `401`: Not authenticated
- `403`: No access to the project
- `404`: No such attachment in the project
- `500`: Internal server error
- `503`: Blob storage is not set up or not answering

## Changes

- **2026-11-21** `451aa64395bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-attachments/:attachment_id/content/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
