---
title: "Delete Conversation History"
method: DELETE
path: "/api/user/sessions/{session_id}/messages"
---

# Delete Conversation History

`DELETE /api/user/sessions/{session_id}/messages`

Delete all messages from a session, preserving memory and the session itself.

Resets the compaction pointer and system prompt so the conversation
continues with a clean slate while retaining compacted memory.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- DeleteMessagesResponse
  - `status` string, required
  - `messages_deleted` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-26** `b2b1d48b629d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mozilla-ai/apis/clawbolt/changes/api/user/sessions/:session_id/messages/delete.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/9df4ea76da08/schema)
