---
title: "Answer Question About Attachment"
method: POST
path: "/v2/attachments/answer-question"
tags: ["external", "external-v2"]
---

# Answer Question About Attachment

`POST /v2/attachments/answer-question`

## Request

- Base URL: `https://api.mem.ai`
- URL: `https://api.mem.ai/v2/attachments/answer-question`
- Auth: HTTP bearer

Ask one focused question about a single attachment by kind and ID.
Use `attachment_kind` and `attachment_id` returned in note attachment metadata.

## Request body

- AnswerQuestionAboutAttachmentRequestSchema
  - `attachment_id` string, uuid, required: UUID of the attachment to inspect. For note attachment metadata returned by `GET /v2/notes/{note_id}`, pass the `attachment_id` value directly.
  - `attachment_kind` 'pdf' | 'image' | 'audio_recording' | 'calendar_event' | 'email', required
  - `question` string, required: Focused question to answer using only this attachment. Maximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).

## Response `200`

OK

- AnswerQuestionAboutAttachmentResponseSchema
  - `answer` string, required
  - `attachment_id` string, uuid, required
  - `attachment_kind` 'pdf' | 'image' | 'audio_recording' | 'calendar_event' | 'email', required
  - `page_references` integer[]
  - `request_id` string, required

## Changes

- **2026-11-03** `503bb357d07c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mem/apis/mem-public-client-api/changes/v2/attachments/answer-question/post.md)

---

[API](https://skmtc.dev/mem/apis/mem-public-client-api.md) - [All operations](https://skmtc.dev/mem/apis/mem-public-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mem/apis/mem-public-client-api/revisions/503bb357d07c?raw)
