---
title: "Whether attachments are stored, and how much of the quota they use"
method: GET
path: "/projects/{project_id}/error-attachments/usage"
tags: ["error-tracking"]
---

# Whether attachments are stored, and how much of the quota they use

`GET /projects/{project_id}/error-attachments/usage`

## 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/usage`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

Storage state, use and limits

- AttachmentUsage: Whether attachments can be stored, and how much of the quota is used.
  - `configured` boolean, required: Whether blob storage is set up and answering.
  - `dropped_over_quota` integer, required: Since the server started: attachments dropped because the project was over its quota, across every project.
  - `dropped_queue_full` integer, required: Since the server started: attachments dropped because the upload queue was full, across every project.
  - `files` integer, required
  - `max_attachment_bytes` integer, required
  - `max_attachments_per_event` integer, required
  - `max_event_attachment_bytes` integer, required
  - `quota_bytes` integer, required
  - `reason` string, nullable: Why attachments are not stored, when they are not.
  - `setup_path` string, nullable: Console path where blob storage is enabled.
  - `used_bytes` integer, required

## Other responses

- `401`: Not authenticated
- `403`: No access to the project
- `500`: Internal server error

## Changes

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

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-attachments/usage/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)
