cURL
curl --request POST \ --url https://cloud.onyx.app/api/chat/stop-chat-session/{chat_session_id} \ --header 'Authorization: Bearer <token>'
{}
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.
Authorization header with Bearer token
Successful Response
Was this page helpful?