---
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`

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

---

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