---
search:
  tags:
    - Sessions
    - DELETE
seo:
  description: >-
    Delete every message and reset the rolling summary while retaining the…
    Reference for the DELETE /api/v2/sessions/{id}/messages endpoint in the
    Anlyon API.
sidebar:
  label: Clear session messages
  badge: DELETE
title: Clear session messages
type: openapi-operation
---
Delete every message and reset the rolling summary while retaining the session.

`DELETE /api/v2/sessions/{id}/messages`
