---
title: "Changes to Use the memories extracted from the files uploaded to generate an answer. The query can include filters to use only a subset of the memories available."
method: POST
path: "/ask"
---

# Changes to Use the memories extracted from the files uploaded to generate an answer. The query can include filters to use only a subset of the memories available.

`POST /ask`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 5 revisions.

- **2025-03-22** `14051507a142`: 1 info
- **2024-12-17** `f1234181a074`: 4 info
- **2024-10-19** `10e0db8acfa5`: 3 warning, 2 info

## Changes

- **2025-03-22** `14051507a142`: 1 info
  - added the optional property `tokenUsage` to the response with the `200` status
- **2024-12-17** `f1234181a074`: 4 info
  - api operation id `AnswerQuestion` was added
  - added the new optional request property `stream`
  - added the non-success response with the status `503`
  - added the optional property `streamState` to the response with the `200` status
- **2024-10-19** `10e0db8acfa5`: 3 warning, 2 info
  - removed the request property `stream`
  - removed the optional property `streamState` from the response with the `200` status
  - removed the optional property `tokenUsage` from the response with the `200` status
  - api operation id `AnswerQuestion` removed and replaced with ``
  - removed the non-success response with the status `503`

---

[Operation](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly/docs/ask/post.md) - [API](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly.md) - [Page](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly/changes/ask/post)
