---
title: "Lookup Attachments"
method: POST
path: "/v1/attachments/lookup"
tags: ["attachments"]
---

# Lookup Attachments

`POST /v1/attachments/lookup`

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

## Request body

- AttachmentLookupRequest: POST /v1/attachments/lookup — batch metadata by id. MEMO-5 regex-extracts the ``/api/att/{id}`` references out of the memory being edited and resolves them in one round-trip. Unknown or other-users' ids are silently absent from the response (§14.6 — no existence oracle).
  - `ids` string[], required

## Response `200`

Successful Response

- AttachmentListResponse: Lookup response.
  - `items` AttachmentRead[], required
    - `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
  - `total` integer, required

## 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)
