---
title: "Initiate or continue a chat session with the LLM using a prompt"
method: GET
path: "/rag/chat_session"
tags: ["rag"]
---

# Initiate or continue a chat session with the LLM using a prompt

`GET /rag/chat_session`

## Query parameters

- `model` string, required
- `prompt` string, required
- `session_id` string, nullable

## Response `200`

Successful Response

- ChatSessionResponse
  - `response` string, required — The response of the model
  - `session_id` string, required — The session ID of the chat

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
