---
title: "Clear Thread"
method: DELETE
path: "/chat/thread/{thread_id}"
tags: ["chat"]
---

# Clear Thread

`DELETE /chat/thread/{thread_id}`

## Request

- Base URL: `https://backend.snapmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.snapmagic.com/chat/thread/{thread_id}`
- Auth: none declared

Clear conversation history and schematic context for a thread.

Called by the frontend when the user starts a new schematic so stale
history does not bleed into the new session.

## Path parameters

- `thread_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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