---
title: "Upload User Report Attachments"
method: POST
path: "/user-reports/attachments"
tags: ["user-reports"]
---

# Upload User Report Attachments

`POST /user-reports/attachments`

Upload report attachments through the backend.

Args:
    report_id: Report UUID used to group attachments.
    files: Uploaded browser files.
    auth: Authenticated user context.
    service: User report service.

Returns:
    Uploaded attachment URLs.

Raises:
    HTTPException: 403 if called via API key (storage not available).
    HTTPException: 500 if authenticated client is missing.

## Response `200`

Successful Response

- UserReportAttachmentUploadResponse — Response after uploading one or more report attachments.
  - `attachments` string[], required — Attachment URLs stored on the report.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/31dfe831e079/schema)
