---
title: "Delete a chat session"
method: DELETE
path: "/chat/sessions/{session_id}"
tags: ["Chat"]
---

# Delete a chat session

`DELETE /chat/sessions/{session_id}`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/chat/sessions/{session_id}`
- Auth: none declared

Delete a chat session and all its messages.

Cancels any in-flight chat run for the session (best-effort) before
removing the row. 404 when not found or outside the org.

## Path parameters

- `session_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jackhamr/apis/jackhamr-api.md) · [All operations](https://skmtc.dev/jackhamr/apis/jackhamr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jackhamr/apis/jackhamr-api/revisions/f75d221481d8?raw)
