---
title: "Stop Chat Session"
method: POST
path: "/chat/stop-chat-session/{chat_session_id}"
tags: ["public"]
---

# Stop Chat Session

`POST /chat/stop-chat-session/{chat_session_id}`

Stop a chat session by setting a stop signal in Redis.
This endpoint is called by the frontend when the user clicks the stop button.

## Path parameters

- `chat_session_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/onyx-dot-app/apis/agents-api.md) · [All operations](https://skmtc.net/onyx-dot-app/apis/agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onyx-dot-app/agents-api/versions/ea131344b29e/schema)
