---
title: "Changes to Answer a query using Retrieval-Augmented Generation (RAG)"
method: POST
path: "/rag/rag_session"
---

# Changes to Answer a query using Retrieval-Augmented Generation (RAG)

`POST /rag/rag_session`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 123 revisions.

- **2026-10-21** `918dffd99272`: 1 breaking, 1 warning
- **2026-07-16** `bd1187f3520e`: 2 info
- **2026-07-01** `ea28bda836c5`: 1 breaking

## Changes

- **2026-10-21** `918dffd99272`: 1 breaking, 1 warning
  - added the new required `query` request parameter `project_id`
  - deleted the `query` request parameter `proj_id`
- **2026-07-16** `bd1187f3520e`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-07-01** `ea28bda836c5`: 1 breaking
  - added the new required `query` request parameter `model`

---

[Operation](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/docs/rag/rag_session/post.md) - [API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [Page](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/rag/rag_session/post)
