---
title: "Delete a ChatKit thread"
method: DELETE
path: "/chatkit/threads/{thread_id}"
---

# Delete a ChatKit thread

`DELETE /chatkit/threads/{thread_id}`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/chatkit/threads/{thread_id}`
- Auth: HTTP bearer

Delete a ChatKit thread along with its items and stored attachments.

## Path parameters

- `thread_id` string, required

## Response `200`

Success

- DeletedThreadResource: Confirmation payload returned after deleting a thread.
  - `id` string, required: Identifier of the deleted thread.
  - `object` 'chatkit.thread.deleted', required: Type discriminator that is always `chatkit.thread.deleted`.
  - `deleted` boolean, required: Indicates that the thread has been deleted.

## Other responses

- `400`: The request is invalid or the required ChatKit beta header is missing or invalid.
- `404`: The thread was not found or is not accessible.
- `429`: The request rate limit has been exceeded.

## Changes

- **2026-10-06** `487892d3954e`: 3 info
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
  - added the optional property `error/misalignment/review_target` to the response with the `429` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/chatkit/threads/:thread_id/delete.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
