---
title: "Upload Attachment"
method: POST
path: "/v1/attachments"
tags: ["attachments"]
---

# Upload Attachment

`POST /v1/attachments`

## Request

- Base URL: `https://api.heirmos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.heirmos.com/v1/attachments`
- Auth: HTTP bearer

## Response `201`

Successful Response

- AttachmentRead: Attachment metadata — upload response, GET, and lookup items.
  - `id` string, uuid, required
  - `mime` string, required
  - `size_bytes` integer, required
  - `created_at` string, date-time, required
  - `vision_status` string, required
  - `caption` string, nullable
  - `ocr_text` string, nullable
  - `vision_tags` string[], nullable
  - `privacy_sensitivity` number, nullable
  - `vision_model` string, nullable
  - `dismissed_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/heirmos/apis/heirmos-api.md) · [All operations](https://skmtc.dev/heirmos/apis/heirmos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heirmos/apis/heirmos-api/revisions/ed490b1866e7?raw)
